bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 241 - 250 of 467

다음에 대한 결과: Format: Video

Using otherwise to throw errors in a switch case

In some code there is an enumerated set of choices. People will use a switch case statement to check for all but one choice and then catch that last one in the ‘otherwise’ block of their… 더 읽어보기 >>

Persistent variables in MATLAB 7

There are situations where you want MATLAB to remember the value of a variable from one call of a function to another call of that function. We show to use a persistent value to accomplish this. … 더 읽어보기 >>

Adding UICONTROLS to MATLAB without GUIDE for simple interactive figures 7

There are often small tweaks to functionality that you would like for a figure in MATLAB. This video shows how to add a button to a figure that will allow you to toggle the units of a y axes between… 더 읽어보기 >>

Simple visualizations for a statics problem in MATLAB

A colleague was trying to draw some structures and do basic static analysis on them. He wanted to write a routine that would draw a pinned beam given the locations of the two pins. This can be done… 더 읽어보기 >>

GUI building in MATLAB 8

This post is a continuation of the last video where we built a simple GUI in MATLAB. This continues by showing how to run initiation code for a MATLAB GUI and explains what the handles structure… 더 읽어보기 >>

Indexing to make an image in MATLAB 1

I got a quick question today on how to make a diamond appear on an image in MATLAB. This is really an exercise in indexing and for loops in MATLAB. Let’s see how you can make an image in… 더 읽어보기 >>

Example: Speed up MATLAB code by profiling

Sometimes the performance of MATLAB code can depend greatly on the algorithm or the specific functions called. In this example, we show how we use the profiler (and good knowledge of logical… 더 읽어보기 >>

Visualizing random walk data (3/3)

Continuing with the random walk data: We will be bootstrap sampling the prior data to get estimates of what the next series of samples could look like. if (typeof(playerLoaded) === ‘undefined’)… 더 읽어보기 >>

Visualizing random walk data (2/3) 2

This week we do a code review of some random walk data, making a heatmap with adjoining histograms to better understand the distribution of data. It shows the implementation of visualizations… 더 읽어보기 >>

Visualizing random walk data (1/3) 4

In this video we start with some data from a random process. Each piece of data represents a small time period and change in value. Think of it as something like a stock ticker, very noisy with a… 더 읽어보기 >>

Posts 241 - 250 of 467