bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 231 - 240 of 573

Vectorizing code in MATLAB

When you vectorize code, you avoid looping through an array and instead do operations on the matrix level. This avoids for loops in MATLAB. The reason for vectorizing are often stylistic…. 더 읽어보기 >>

Adding callbacks to lines and axes in MATLAB

A callback is a function that gets called when you perform certain actions. For instance, you might want something to happen when you click on a line in MATLAB, or when you move the mouse in MATLAB…. 더 읽어보기 >>

Interuptable callbacks and BusyAction in MATLAB

If you push a button in a MATLAB UI and this starts a long calculation, what do you want to have happen if the user pushes the button a second time? Interuptable property and BusyAction property of… 더 읽어보기 >>

Using synthetic data to test algorithms in MATLAB

This week we are making up some data and doing a couple of visualizations. We then modify the data to do a reality check on a simple algorithm. This allows us to gain confidence in our algorithm… 더 읽어보기 >>

Modifying Excel column names to legal variables in MATLAB

I have been using MATLAB tables lately. In doing that, MATLAB will store meta data with your numeric data. I was bringing data in from Excel files. Each column name will eventually become a… 더 읽어보기 >>

Simplify, simplify, simplify

I often say that one my greatest qualifications for troubleshooting MATLAB code is that I know I am not that clever, so I have to simplify things until I can understand them easily. It works really… 더 읽어보기 >>

Using Datetick with Plotyy in MATLAB

Recently, I needed to plot two different sets of time series data on the same axes, but they were at different scales. In this simplified example, I show how you can change the x-labels to display… 더 읽어보기 >>

Debugging: creating a line with empty data

In this video we are sorting through some data making a different line for all the data points that match certain criteria. At some point in the algorithm none of the data meets the criteria. This… 더 읽어보기 >>

Exploring data through a series of vizualizations

When we get unknown data, we do not always know where it will lead us. This video shows the series of visualizations that I went through to answer a question about my data. By showing the process,… 더 읽어보기 >>

Searching for permutations of a string in a list in MATLAB

In this video a colleague was looking in a large list to see if each element was a permutation of any element of a shorter list. I name these lists Haystack and Needle so it is easy to remember… 더 읽어보기 >>

Posts 231 - 240 of 573

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