Stuart’s MATLAB Videos

Watch and Learn

Posts 41 - 50 of 67

Results for: Level: Advanced

Building a GUI to read, modify and write an Excel file. 3/4 1

This is the third in a series of videos that will go through the process of planing and implementation of a simple GUI. Realistically, I would not plan out a GUI this simple, but the idea is to show… read more >>

Building a GUI to read, modify and write an Excel file. 2/4 1

This is the second in a series of videos that will go through the process of planing and implementation of a simple GUI. Realistically, I would not plan out a GUI this simple, but the idea is to… read more >>

Speeding up Doug’s solution with the profiler 8

Last week, I posed a Puzzler. I solved it the hard way, because I did not know any of the fancy math that the people in the comments section mentioned. I will leave the closed form solution to them… read more >>

Read data from the web with URLREAD 27

I am blogging a little early this week because of the holiday. What holiday would that be? Square Root Day– 03/03/09. What makes this a particularly special event is that today’s video… read more >>

Dynamic field name usage 17

This short video shows how you can make your code shorter, more flexible, and readable by using a string variable to reference a field in a structure. This is called dynamic field name reference or… read more >>

Puzzler: optimize this 17

Often when I post code, there is a discussion of how to optimize it. I tend to subscribe to this maxim:

Rules of Optimization:
Rule 1: Don’t do it.
Rule 2 (for experts only): Don’t do… read more >>

MATLAB example: Don’t reinvent the thermometer

My last post talked about finding MATLAB code from other people so that you do not have to reinvent it yourself. Eric, the author of the code I modified, challenged me to create “a new Matlab… read more >>

Video tutorial: Tolerances in comparisons 4

Sometimes you will do a calculation where the answer looks like ‘0’ or ‘1’ or some other number like that. The natural thing to do is to do a test like this: if (answer ==… read more >>

Video: Saving the state of a GUI 13

A question that comes across my inbox from time to time is how to save the state of a GUI between session. There are few methods for doing this, one is using the HGSAVE command to save the .FIG file… read more >>

New location and memory allocation 4

Today, Brett, Bob and Jiro have completed their inheritance of Pick of the Week blog.  There is a fine heritage of Applications Engineers running the Pick of the Week blog.  Scott Hirsch and I… read more >>

Posts 41 - 50 of 67