Stuart’s MATLAB Videos

Watch and Learn

Posts 21 - 30 of 208

結果: Level: Basic

Non-uniform spacing for surf in MATLAB

In this video, we will use non-uniform spacing for the X vector going into a surf plot in MATLAB. This allows us to selectively increase the resolution of a graphic in the more important regions. … 続きを読む >>

Understand If statement behavior on vectors 2

In teaching new MATLAB users, I often see them accidentally use a vector as an input to an if statement. This is not likely what they intend and it is often an overlooked syntax error. In this… 続きを読む >>

Refactor code to rename variable with with MATLAB editor 2

As code matures, very often the nature of variables becomes better understood and the names of the variables need to change to reflect that better understanding. This short video shows how the… 続きを読む >>

Hide implementation in functions 1

I am working on a large scale project that involves many broad topics like loading data, and visualizing. Both of these are important, but I needed to work on the visualizing immediately. I knew I… 続きを読む >>

Breaking down a custom visualization in MATLAB

Custom visualizations in MATLAB can be made to show your data however you think best. Today’s visualization looks like it might be difficult, but it was actually done with one strategic… 続きを読む >>

Catch errors early with simple visualizations

The sooner you find an error, the less expensive it is to find and fix. In MATLAB it is really easy to do quick visualizations of your data. When it is this easy, you should be doing these little… 続きを読む >>

MATLAB: Manipulating the data in a UItable in GUIDE 14

If you have a UItable in a UI made in GUIDE, you might want to change that data in a callback. For instance, you might want to change the values or increase the size of the dataset. This short… 続きを読む >>

Knowing when to optimize your graphics in MATLAB

The MATLAB user’s question in this video was about optimizing their graphics in MATLAB. They were worried that the architecture they were choosing would be too slow. One test is worth a… 続きを読む >>

Interactively editing a colormap in MATLAB 1

I recently wanted a colormap that was distinctive. I wanted the zero values to be one color while the negative and positive values were different shades. This video shows how to do this… 続きを読む >>

When only small speed improvements are possible in MATLAB 2

The profiler is very important when you want to speed up your code. It is nearly impossible to know where the bottleneck will be in your code until it is written and tested. Often times there are… 続きを読む >>

Posts 21 - 30 of 208