Stuart’s MATLAB Videos

Watch and Learn

Posts 301 - 310 of 449

Results for: Format: Video

Set up: Finding closest point on a surface 4

This video sets up the plan for how to find the closest point on a surface to a given point. This is a numerical approximation that avoids the inevitable complexities of solving the problem exactly… read more >>

Converting from a formula to a script to a function 10

Very often the process of coding in MATLAB is to start from a requirement, like “implement this formula”, to a script that is easily tested to a function that is more general and adds to… read more >>

Copying a figure to the clipboard 17

Just a little trick that helps you get MATLAB figures easily into other programs by copying them to the clipboard. Could easily be made into a shortcut on the MATLAB toolbar. if… read more >>

Deleting an element from a cell array 27

I recently had a situation where I needed to delete an entry from a cell array. When I tried A{3} = [ ], I did not delete the third element, I actual just set it to [ ]. What Loren… read more >>

Basics: Making a vector the MATLAB way 2

I recently received an email asking me a question about how to create an array that is composed of different outputs from functions. The user was new to MATLAB, but had a background in programming… read more >>

Advanced: Getting an output from a GUIDE GUI 11

I had a well formed question from an advanced MATLAB user recently. He wanted to have an output come back from a GUI. There is an example of this with the modal dialog example in GUIDE. However, it… read more >>

Advanced: Speeding up an enumerated string search in a data mining application 3

This week, I am going to cover a technique that I used to speed up a data mining application that had a search through enumerated strings looking for all the matches. Using this technique of… read more >>

Advanced: making a 2d or 3d histogram to visualize data density 41

This short video makes a 2d histogram as an alternative to plotting data points and visually estimating where the most data is. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded =… read more >>

Basics: Dialogapalooza- a look at many predefined dialogs 2

Very often MATLAB user will write in and we figure out that they are trying to reinvent a dialog that already exists. I quickly go through and show the most useful dialogs in MATLAB. if… read more >>

Basics: Refactoring a switchyard into a formula 3

This short video shows how a switchyard of if/elseif statements was converted to a simple formula. Testing of this refactoring was also done. if (typeof(playerLoaded) === ‘undefined’) {var… read more >>

Posts 301 - 310 of 449