Stuart’s MATLAB Videos

Watch and Learn

Posts 1 - 10 of 43

Results for: Format: PodCast

Non-uniform spacing for surf in MATLAB

In this video, we will use non-uniform spacing for the X vector going into a surf plot in MATLAB. This allows us to selectively increase the resolution of a graphic in the more important regions. … 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 >>

Graphics challenge 10

When I teach the MATLAB graphics class for new technical support engineers at MathWorks, I have one major exercise for them to do. This is that exercise. if (typeof(playerLoaded) === ‘undefined’)… read more >>

Advanced MATLAB: File name processing from directory listing 8

Very often MATLAB users want to be able to process a set of files from a directory. In this video, I show how you can look through a directory seeking files of the form “data###.dat” and… read more >>

Advanced MATLAB: Dynamic field names

We have MATLAB users come into The MathWorks to present their work in MATLAB from time to time. Recently there was an interesting presentation with some really great “Clutter… read more >>

MATLAB Basics: Setting edge color for large surface plots 5

Often if you make a surface plot with SURF for a large dataset, it will appear all black because MATLAB is trying to draw all the edge lines. You can stop these lines from obscuring your data by… read more >>

MATLAB Basics: Adding a toolbar to a GUI 17

People often make their own GUIs in GUIDE and they have a data visualization. When you embed an axis in your own GUI rather than using a figure window, you lose the built in toolbar that has zoom,… read more >>

Advanced MATLAB: Class system for OOP in MATLAB introduction 10

This week we will be looking at the MATLAB class system. This video does not cover the “why” of doing OOP (Object Oriented Programming) in MATLAB. It just covers a very simple example… read more >>

MATLAB Basics: Interpolating data with interp1 1

This short video shows how you can take a sparsely sampled sine wave and use interp1 to interpolate the missing data points. Different interpolations such as linear, spline and nearest are all shown…. read more >>

MATLAB Basics: Cell arrays for holding different data types 3

Sometimes in MATLAB you are going to want to store different data types together in one construct rather than try and keep track of different variables. Structures work for this, but sometimes it is… read more >>

Posts 1 - 10 of 43