Stuart’s MATLAB Videos

Watch and Learn

Results for: Topic: Philosophy

Bad coding practices to avoid

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… read more >>

Vintage Videos: Still relevant

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.
if (typeof(playerLoaded) === ‘undefined’) {var… read more >>

Simplify, simplify, simplify 1

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… read more >>

Catch errors early with simple visualizations

The sooner you find an error, the less expensive it is to find and fix. In MATLAB it is really easy to do quick visualizations of your data. When it is this easy, you should be doing these little… read more >>

Knowing when to optimize your graphics in MATLAB

The MATLAB user’s question in this video was about optimizing their graphics in MATLAB. They were worried that the architecture they were choosing would be too slow. One test is worth a… read more >>

Naive vs Complex solutions

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… read more >>

My path to MATLAB

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,… read more >>

Unexpected is not wrong

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… read more >>

MATLABdo: The Way of MATLAB 5

I work in technical support, so very often I get strange requests. Really strange. My first question is “Why do you want to do that?” The reason I ask this is very often new… read more >>