Stuart’s MATLAB Videos

Watch and Learn

Posts 191 - 200 of 550

Signoff 15

After 14 awesome years at MathWorks, I am changing careers. It has been great working and learning with all of you. If you are new to this blog, go back and watch my other videos, they are still as… read more >>

Visualizing retention data over time in MATLAB

I have some data showing how many people come into and leave a group over time. I wanted to see the retention of members from one month to the next. Using area plots I was able to make a… read more >>

Visualizing a Simple Saddle Point Algorithm in MATLAB 2

There are lots of places in optimization and game theory where you would want to identify a saddle point on a two-dimensional surface. In this example we find and visualize the saddle point of a… read more >>

Editing an Existing Figure File in MATLAB 7

The best way to modify a MATLAB figure is to just modify the code that generated it. I prefer this because it is better to be able to regenerate a figure from code if you want to keep modifying it… read more >>

Selectively Changing an Image in MATLAB with Logical Indexing 1

A MATLAB user on MATLAB Answers wanted to know how to change all the pixels in an image that were below a certain threshold. The answer was correct, but very terse. I wanted to expand upon the… read more >>

MATLAB: In an assignment A(I) = B, the number of elements in B and I must be the same. 9

The very common MATLAB error: “In an assignment A(I) = B, the number of elements in B and I must be the same.” occurs when one side of an assignment has a dfferent dimension than the… read more >>

Rotate Axes Labels in MATLAB

The new release of MATLAB R2014b brings a new graphics engine. This allows for some new capabilities such as rotating tick labels and using dot notation in referencing graphics properties. These… read more >>

Using DBstack in MATLAB to get a stack trace

When you have timers and callbacks in your code, it can be difficult to find out when certain errors are occuring. Use DBstack to find the debug stack trace in MATLAB. This will allow you to find… read more >>

MATLAB r2014bGraphics has launched

We are very excited to announce that MATLAB r2014b introduces a new graphics system. Graphics developer, Mike Garrity, is launching a graphics specific blog. Here is the landing page for this… read more >>

Reading parameters from a file in MATLAB 1

In last week’s post, I showed how to generate code in MATLAB to automatically read in a file. In this video I show how to make a simple wrapper function around code generated in that way. … read more >>

Posts 191 - 200 of 550

These postings are the author's and don't necessarily represent the opinions of MathWorks.