mathematica to matlab converter

69 ビュー (過去 30 日間)
LOKESH
LOKESH 2012 年 1 月 14 日
移動済み: DGM 2023 年 4 月 12 日
Hello. I need to convert Mathematica program to matlab. I have tried tomatlab function but doesn't know how to use it.I only need to convert some expressions.
suggest a solution

回答 (2 件)

Walter Roberson
Walter Roberson 2012 年 1 月 14 日
In such situations the method that is most effective for me is understanding what the source code is doing and rewriting the functionality in the second language.
  6 件のコメント
LOKESH
LOKESH 2012 年 1 月 18 日
I am going from scratch as i am unable to get from above solution.
Please suggest what following lines mean in mathematica:
pixelvalues=A[[1,1]];
Dimensions[pixelvalues]
lg=Length[pixelvalues]
Where A is jpeg image..
as i am confusion of that does first line mean pixel value at point A(1,1).
Walter Roberson
Walter Roberson 2012 年 1 月 18 日
It has been pretty much a decade since I did any serious Mathematica programming; it would be easier for you to look up the functions on the Wolfram site.

サインインしてコメントする。


NNM
NNM 2017 年 10 月 26 日
移動済み: DGM 2023 年 4 月 12 日
Too old a thread, but this answer may be helpful for some visitor. You can use ToMatlab package built for mathematica http://library.wolfram.com/infocenter/MathSource/577/ Usage: Place the file in applications folder of your base directory.
<<ToMatlab`
SOME EXPRESSION //ToMatlab

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by