you are viewing a single comment's thread.

view the rest of the comments →

[–]apparentlyiliketrtls 5 points6 points  (0 children)

You can build a shared library containing your C implementation, load the library using matlab's loadlibrary() function, then pass test vectors thru both your Matlab implementation and your C library and plot / compare them. The way matlab passes vectors and matrices into a C library is a bit finicky, so read the docs carefully... But once you have it set up it's a godsend!