Stuart’s MATLAB Videos

Watch and Learn

Results for: Topic: Philosophy

Bad coding practices to avoid

Posted by Doug Hull,

I was revisiting older posts, and this is one of my most frequently referenced posts.

I teach the MATLAB 101 class to every new hire at MathWorks. Inevitably, someone will ask me how to make a global variable. I then Google up: “How to make MATLAB Doug Cry” and… read more >>

Vintage Videos: Still relevant

Posted by Doug Hull,

There are certain timeless questions about MATLAB. I was just asked about this and knew I had made a video about changing object properties in GUIDE.
min-height=450px width=autoif (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’, function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined, 10);}})();
I have…

Simplify, simplify, simplify 1

Posted by Doug Hull,

I often say that one my greatest qualifications for troubleshooting MATLAB code is that I know I am not that clever, so I have to simplify things until I can understand them easily. It works really well when debugging MATLAB code. Use simpler data: Instead of… read more >>

Naive vs Complex solutions

Posted by Doug Hull,

This video is more philosophical than about MATLAB syntax. When trying to understand the cycles that occur in the output of a pseudo random number generator, I first approached the problem in easiest way I could think of. It worked well enough for small datasets, but because the… read more >>

My path to MATLAB

Posted by Doug Hull,

With September comes a new batch of students and new MATLAB users. Many of the bloggers here are talking about how they came to MATLAB and the academic path that got them here. Without a doubt, the most important skill set I learned in college and grad school was how… read more >>

Unexpected is not wrong

Posted by Doug Hull,

I just worked on a case that typifies a situation I see in MATLAB fairly often. Unexpected results are not necessarily wrong results. I am a big fan of the “sanity check”, where if the results just seem “way out there” logically, something might be wrong. It could be the MATLAB… read more >>