Stuart’s MATLAB Videos

Watch and Learn

Video series: Reading Excel data into MATLAB with a GUI 92

Posted by Doug Hull,

I had a chance to work with a MATLAB user that was interested in bringing her Excel data into MATLAB and plotting different variables. This was a fairly standard file format, just columns of data. It was pretty easy to read in the data with XLSREAD: if (typeof(playerLoaded) === ‘undefined’) {var… read more >>

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

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