Sunday, May 26, 2013

OOP in Matlab: basics /Tutorial

Software from Kelvin Murphy and Students (UBC)
http://www.cs.ubc.ca/~murphyk/Software/matlabTutorial/html/objectOriented.html#53

A more professional guide to Matlab
https://code.google.com/p/yagtom/

Suggestion:

The danger of premature optimization

Before spending a lot of time optimizing your code, you should first identify the key bottlenecks using the profiler. The usual pattern is that 80% of the the time is spent in 20% of the code, so you can focus your efforts accordingly. Also, remember that correctness is more important than speed!

No comments:

Post a Comment