Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコマンドを mathematica から matlab に書き込むにはどうすればよいですか?
total = Apply[Plus, Flatten[mlat]]/L2
ここで、L2 は値で、mlat は行列です。
簡単に書く:
total = sum(mlat(:)) / L2
matlabの助けにはなりませんが、Mathematicaでは単に書くことができます
total = Total[mlat, -1]/L2
代わりに