Hello everyone...I'm having a bit of a fix here. How do I convert a matlab source code to C++?? Any ideas?? My code is attached. Thx&&

Printable View

- 12-10-2011DaiveHow do I convert from Matlab to C++
Hello everyone...I'm having a bit of a fix here. How do I convert a matlab source code to C++?? Any ideas?? My code is attached. Thx&&

- 12-10-2011then
Learn C++ and it should be a simple matter. I don't think there exists any tool that converts MatLab code to C++, partly because it would depend much on the way the code is supposed to be implemented. But I may be wrong.

I also know that there exist many C++ linear algebra libraries (which you will probably need if your original code is written in MatLab) for doing vector and matrix operations, calculating properties such as the norm and extraction of eigenvalues, libraries that support lazy evaluation, etc. Armadillo seems (according themselves) to be one of the fastest on doing basic matrix operations. - 12-11-2011Salem
+1 for learning C++.

But if you thought you could just drop your assignment and expect a complete answer, you're in the wrong place.

Instead, go here -> vWorker.com: How work gets done. Guaranteed! - 12-11-2011Daive
Thanks for your comments.... seems I just have to work on it manually. You know C++ is more complicated