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 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… 더 읽어보기 >>

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 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… 더 읽어보기 >>

Posts 241 - 250 of 573

이 게시물은 작성자 개인의 의견이며, MathWorks 전체의 의견을 대변하는 것은 아닙니다.