bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 231 - 240 of 467

結果: Format: Video

Customizing the color of an edit box in MATLAB

A MATLAB user recently asked me how the UI shown here was made. Those grey boxes are made from edit boxes that have been customized. This video shows how it is done. if (typeof(playerLoaded) ===… 続きを読む >>

Knowing when to optimize code in MATLAB

I work with a lot of recent computer science graduates who are learning MATLAB. Something I see from them is they often want to choose some complicated but fast algorithm to do a task I give to them… 続きを読む >>

Working with dates in MATLAB 5

I am a little obsessive about data visualization. I have a side project selling a book I wrote. The data is not in a nice time history form, so I need to manually gather the data then reformat and… 続きを読む >>

Combinatorics

I was asked recently how to generate all the combinations from two possible outcomes. It reminded me of a recent post on Flowing Data about the sum of two dice. This is a nice little function,… 続きを読む >>

Making a line visible over an image in MATLAB 5

It can be difficult to see a line that is drawn over an image. The line is often lost in the background colors. That is why cursors are colored as they are, so that they are visible on any… 続きを読む >>

Quick Tip: Speeding up debugging iterations 4

This week’s video is a quick tip to help speed up iterations when debugging MATLAB code. If your code requires user interactivity, such as selecting a file or folder from a dialog box, consider… 続きを読む >>

Polar surface plot in MATLAB 2

MATLAB does not have a polar surface plot built in. You can use a normal surface plot if you convert your polar data into Cartesian with the pol2cart command. We also cover how to get rid of the… 続きを読む >>

Speeding up User Interfaces in MATLAB with profiler 4

Sometimes when you are working on a User Interface you want to use the profiler to speed up the code. However, with a UI so much time can be spent by the user rather than the code of interest that… 続きを読む >>

Generalizing the access to an array of structures in MATLAB 2

Recently a MATLAB user asked me how to make it possible to work with an array of structures in such a way that she could filter the array of structures and then combine the remaining fields. Once… 続きを読む >>

Using ‘dbstop if error’ and conditional breakpoints to debug MATLAB 1

Sometimes MATLAB throws an error, but because the error is inside of a function you can not see what caused this error. By telling the debugger to stop execution under certain conditions or right… 続きを読む >>

Posts 231 - 240 of 467