bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 241 - 250 of 573

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. … 続きを読む >>

uicontextmenu and ButtonDownFcn in MATLAB

When you use ButtonDownFcn in MATLAB, your callback is given an automatic input called hObject. This hObject is the handle of the object that you interacted with to invoke the callback, which makes… 続きを読む >>

Understand If statement behavior on vectors

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

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

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… 続きを読む >>

Using one callback function for multiple UI objects in GUIDE

By default, GUIDE creates one callback function for every object in a UI. Sometimes, you want to have one callback function serve multiple objects. This video shows one way to do this, by manually… 続きを読む >>

MATLAB: Manipulating the data in a UItable in GUIDE

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… 続きを読む >>

Posts 241 - 250 of 573

これらの投稿は著者に属するものであり、必ずしも MathWorks の見解を示すものではありません。