bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 321 - 330 of 475

Results for: Format: Video

Debugging is faster with save and load 10

When you have a bug that occurs in a script of function that takes a long time to run, you can use this technique to get to the bug faster in MATLAB. if (typeof(playerLoaded) === ‘undefined’) {var… read more >>

using temporary variables 12

Even though you can have the output of one function act as the input to another directly, this can be confusing to read. Sometimes, using temporary variable will allow you to clarify your… read more >>

MATLAB Controlling color saturation points on an image 3

In this MATLAB video we show how you can manipulate the clim property of an axis to determine the points that an image will saturate the colormap. This is often a better choice than making a strange… read more >>

Find newest file in a directory 9

if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== ‘undefined’) {videojs(“mathworks-brightcove-player”).on(‘loadedmetadata’,…

MATLAB tutorial about Any and All

This short video shows an example of finding out if all or any of the values of a matrix are true in MATLAB. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function… read more >>

Code review: finding the closest point on a surface

This video shows the implementation of 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… read more >>

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

Posts 321 - 330 of 475