Stuart’s MATLAB Videos

Watch and Learn

Algorithm development video 6

Posted by Doug Hull,

Here at the MathWorks, one of our Core Values is Continuous Improvement. Part of that is about being process oriented- “Clock building is better than time telling.” Following that Core Value to talk about algorithm development, it takes more than just looking at finished algorithms (time telling), you need to look… read more >>

Cleaner code in MATLAB part two 2

Posted by Doug Hull,

This second video in the cleaner code series talks about magic numbers, and how to avoid them. It also covers naming conventions for function names and binary variables. Use of subfunctions is also shown. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function() {playerLoaded =… read more >>

Speed your code with Distributed Computing

Posted by Doug Hull,

I am frequently asked how to speed up code that was written in MATLAB. We have already covered using the profiler in a video a few weeks ago, so now we turn to throwing more computer power at the problem by using ParallelComputing Toolbox. This video shows how… read more >>

Profiler to find code bottlenecks 31

Posted by Doug Hull,

Take a look at this video to see how to use the profiler to find the slow parts of your code. The movie resolution is a bit of a challenge, so please let me know if this video is useful, and what others you would like to see. if (typeof(playerLoaded)… read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.