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