Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have to write a matlab program for a problem that utilizes a M-function. I was curious if you guys knew of any good websites that have some sample code for such problems.

Also, I am somewhat familiar with programming in C++. How much does matlab differ from this language?

Any help is greatly appreciated.

Thanks.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Computational Physics -MATLAB

**Physics Forums | Science Articles, Homework Help, Discussion**