bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 231 - 240 of 570

Using synthetic data to test algorithms in MATLAB 2

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 2

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 1

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 6

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 1

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 4

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

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 7

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

Posts 231 - 240 of 570

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