bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 161 - 170 of 570

Cody Code-Along: R2016b Feature Challenge – String Array Basics, Part 1 and 2 1

My colleague Ned suggested I take a look at the Release 2016b Feature Challenge problem set in Cody. I have tried some of the new features in 2016b but this is a good way to learn more. The first few… read more >>

Creating a MATLAB Function to Reuse Code

Its common when you are developing code to find that you want to re-use a piece of it for some new dataset or task. Instead of copying and pasting, always consider writing a function. Here is an… read more >>

Creating a Function to Save a Table to a CSV File if it’s Too Big for Excel 2

I often save tables to Excel for sharing with others, but if the data is too large, I need to share to a CSV file instead. Here I build a function to do that. Features covered in this code-along… read more >>

Other Ways to Pause MATLAB 3

A few weeks ago I talked about the new pause button in Release 2016a on the editor tab of the desktop. Someone asked what do you do if you want to pause your code but the editor was not open when you… read more >>

Developing a Script to Compare the Distribution of Website Page Response Times

In this code-along style video I attempt to develop a script to import and analyze website page response times data, including doing some comparisons of distributions.
Features covered… read more >>

Using Variable Highlighting to Help with Organizing Code

One of the many uses of variable highlighting in the MATLAB editor is to help with moving code around. When you select variables, it shows you where they are used in the rest of the code, and… read more >>

Debugging a Tricky Look-up Table Indexing Problem

This morning I needed to debug an issue with a regularly used script. The code was converting numerical columns in a table to strings or categoricals by using a lookup table. I had a few levels of… read more >>

Analyzing a Large Website Graph: Importing Node and Edge Data 2

I’d like to be able to analyze and visualize our website but with more than 300 thousand pages and more than 20 million links, its too much information to easily digest or display. So I thought… read more >>

Use strlength to Detect Zero Length Strings

You can’t use isempty to detect empty strings, as you would for character arrays. Instead you should check for strlength being equal to zero or compare with an empty character vector. See the… read more >>

You Should Turn on the “Enable data tips in edit mode” Editor Preference 7

Each time I install a new release of MATLAB, such as 2016b recently, I turn on the editor preference “Enable data tips in edit mode”. Its not on by default. Here’s why its very… read more >>

Posts 161 - 170 of 570

These postings are the author's and don't necessarily represent the opinions of MathWorks.