bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 91 - 100 of 208

Results for: Level: Basic

Graphics challenge

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

Adding a debug button to a MATLAB GUI.

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.

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

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

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

Proudly launching MATLAB Answers

I am very happy to announce the launch of a new MathWorks service on MATLAB Central: MATLAB Answers. What does it do? MATLAB Answers is designed to provide Quick, correct answers to well formed… read more >>

How to add to a cell array in MATLAB

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

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

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 loop until a button is pushed in MATLAB

I had a question recently about having a process occur until a button is pressed in a GUI (or while a button is pressed). This video shows how a button can control the output of a stream of random… read more >>

Posts 91 - 100 of 208