bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 301 - 310 of 467

Results for: Format: Video

Subplot vs axes 4

Subplot is a convenience function that wraps around the lower level axes function. It simplifies the layout process. As a higher level function, it does some bookkeeping for you. This debugging… read more >>

MATLAB contest: sneak peak

There are two big events coming up that I want to share with you: MathWorks Virtual Career Fair on Thursday November 11th. This is an opportunity to talk directly with Engineers and Hiring… read more >>

Making a matrix in a loop in MATLAB 69

A for loop is used to construct a simple matrix with an underlying pattern. Pre-allocation is addressed in the second half of the video. if (typeof(playerLoaded) === ‘undefined’) {var… read more >>

Simple transparent graphics in MATLAB using alpha 1

Transparency is a nice feature to make your visualizations look better and it also allows you to show data more clearly (pun not intended, but appreciated after the fact). It means that your data… read more >>

Formatting code for readability 3

The use of whitespace can make your code more pleasant to read. This is not just a nicety, it actually makes it easier to see the structure of your code and makes it more clear where code breaks the… read more >>

Deleting in a loop 5

Ever try to delete some values in a vector by looping through from beginning to end? I have, and failed because the indexing got confused as the vector changed. Here is one solution to that class… read more >>

Using debugger to walk through code. 5

Sometimes, when you are given a piece of code, it works well and you want to learn from it. Reading through the code is not always that helpful if done all at once. It is too much to process. … read more >>

Setting reverse and log properties for an axis

This MATLAB video tutorial shows you how to reverse the direction of an aixs or to change an axis to log scale. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function… read more >>

MATLAB Optimize an algorithm that the profiler can not help

I very much advocate “No premature optimization” because until the code is running and pushed through the profiler, it is difficult to know where the bottlenecks of speed are. In this… read more >>

How to fix common indexing errors with for loops 6

This video shows how to fix common errors in MATLAB when indexing into a vector or matrix in a for loop. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function… read more >>

Posts 301 - 310 of 467