Convert C code to Matlab code
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi,
I need to convert these three codes in C that i have attached to this question into a matlab script
Anyone can help me?
9 Comments
dpb
on 30 Apr 2019
I'd suggest to just replace the functionality with the builtin MATLAB spline tools instead...
Attilio Carapucci
on 1 May 2019
Adam
on 1 May 2019
What part of it is the problem? They don't look especially complicated functions.
dpb
on 1 May 2019
"The matlab spline toolbox doesn't allow me to do the operations I need"
What are you trying to do that think can't? I don't know it well, but it seems pretty capable from what I do know...you sure it is "can't" and not "I'm not sure how" ?
Attilio Carapucci
on 2 May 2019
Attilio Carapucci
on 2 May 2019
Adam
on 2 May 2019
It's almost entirely just maths, if statements and for loops with array assignment. Almost the only difference to Matlab is the square bracket [ ] array indexing rather than parenteses ( )
Jan
on 2 May 2019
@Attilio: You do not know anything about the C code. Now you ask, if somebody converts it to Matlab. You post this in the forum, because you hope, that someone does your work for free. Usually the forum is more enthusiastic to assist persons to do their work by their own. Man contributors do not like to be treated as cheap programming service.
Attilio Carapucci
on 4 May 2019
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!