Hi
I have been working on a project on an already written code in Maple Code. Maple is not available at the moment for me and I need the code to be converted into MATLAB. I am attaching the text format of the code and really need help on this. Can someone convert it for me?
Thank You!! Regards.

댓글 수: 4

Walter Roberson
Walter Roberson 2020년 7월 8일
The code creates a specific 3d plot, and creates a number of global variables, and creates four functions some of which work based upon four of the global variables.
What are you hoping that the converted code will do?
I am part way through the automatic conversion, but the way to proceed is going to depend upon the goals.
One subtle point is whether you need to change the 16 16 12 size or if those can be considered fixed. The automatic code conversion does not like the sizes to be variable.
Hello Walter,
Can I see the conversion if it is done?
Thank You!! Regards.
Walter Roberson
Walter Roberson 2020년 7월 12일
I have been having computer problems and have not had time to work on this.
Note that the code does not do what you said it does at one point -- it does not create an output file for use in whatever it was you said it was to be used with (I no longer remember the detail, and you deleted your response so I can't refer back to past discussions...)
Hello Walter,
Thank You for the help. The discussion had happened in two threads, please do refer to the following link.
I am getting invalid operater error in the following code
fiber1 = plot3d "([f1p[1],f1p[2],f1p[3]]; y=0..W,t=0..2*Pi; color=green)";
fiber2 = plot3d "([f2p[1],f2p[2],f2p[3]],y=0..W,t=0..2*Pi,color=green)";
fiber3 = plot3d "([f3p[1],f3p[2],f3p[3]],x=0..L,t=0..2*Pi,color=yellow)";
fiber4 = plot3d "([f4p[1],f4p[2],f4p[3]],x=0..L,t=0..2*Pi,color=yellow)";
Could you please help me with this?
Thank You!! Regards.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Characters and Strings에 대해 자세히 알아보기

제품

릴리스

R2020a

태그

질문:

2020년 7월 6일

편집:

2020년 7월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by