Stuart’s MATLAB Videos

Watch and Learn

Posts 271 - 280 of 448

Results for: Format: Video

Solution to MATLAB Graphics challenge for new users (1/2) 6

In last week’s post, I introduced a graphics challenge that I use when I teach a MATLAB graphics class to new technical support engineers at MathWorks. This week, I show the first part of the… read more >>

Adding a debug button to a MATLAB GUI. 2

GUIDE GUI’s in MATLAB are really just a series of function calls triggered by callbacks associated with different uicontrols. Because these are all sub-functions, it can be difficult to get… read more >>

How to store a series of vectors from a for loop. 2

A very common question among new MATLAB users is how to store the results of a calculation done in a for loop. I covered how to do this when the result is a scalar However, I did not cover how to… read more >>

Context menus in an amortization application in MATLAB 4

This video includes an amortization of a mortgage in MATLAB, but it is really about the addition of a context menu to a line on a figure. There is also a discussion of anonymous functions and the… read more >>

Animating an objects trajectory in MATLAB with HGtransform 2

This video shows how you can use MATLAB to do the visualization of a moving object with HGtransform. This data was syntetic, but it would be easy to read the data from a file and show the trajectory… read more >>

Associating x and y with a surface

This video shows you how to associate a specific x and y scaling to a surface. Very often people will just use the Z matrix (the height of the surface) not knowing you have more control than… read more >>

How to add to a cell array in MATLAB 2

This MATLAB user needed to add another row to a cell array so they could populate the data in a uitable. Uitable requires that all the cells in a given column are of the same type. This video shows… read more >>

Making test data in MATLAB 4

Many times when trying to test an algorithm or understand code written by someone else, it is beneficial to run the code with data you understand already. For that purpose, I have several standard… read more >>

Tradeoffs: Code complexity vs data storage 2

This video discusses a code tradeoff of increasing code complexity so that less data needed to be stored. This video discusses how for small cases, code complexity often rules over other… read more >>

How to save and restore state of a GUI in MATLAB 12

When constructing a GUI, sometimes it would be appropriate for the GUI to start out in the last state it was in when it was closed. This means the same values selected in list boxes, same radio… read more >>

Posts 271 - 280 of 448