Conversion of code from Maple to MATLAB

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 Kommentare

Walter Roberson
Walter Roberson am 8 Jul. 2020
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 am 12 Jul. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by