Stuart’s MATLAB Videos

Watch and Learn

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 >>

GUI Building Tutorial

Posted by Doug Hull,

This week I want to try something different. I give a lot of presentations to customers and many times they are not aware of capabilities that MATLAB has to offer them. When people ask about how to build a graphical user interface in MATLAB, this is what I… read more >>

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