bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 41 - 50 of 55

結果: 2009

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

MATLAB Puzzler: Professor and the Rain 12

Being a company full of geeks, a fair amount of brainteasers get passed around. One that recently came around got my attention. I knew there was probably math that governed it elegantly, but I did… 続きを読む >>

Spring 2009 MATLAB programming contest is open

I am pleased to announce that there is a new MATLAB programming contest, and it started a few hours ago. This one is very different from prior contests, it is a free-form visualization contest. It is… 続きを読む >>

Setting the colormap to be consistent across axes.

I love getting short, concise questions from fellow MATLAB users. One that I got recently looked like this: I have some data that I want to plot with contourf using a colormap that spans from 0 to… 続きを読む >>

MATLAB YouTube channel 3

My colleague, Stuart, is the person behind that charming Scottish accent you hear on many of the MATLAB videos on our website. He recently posted several of his videos on the new MATLAB Channel on… 続きを読む >>

Reshape a matrix without using a for loop 70

RESHAPE is a very useful function, but it is something that a lot of MATLAB users do not discover until someone is looking at their code and says “Why are you using a for loop for… 続きを読む >>

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

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

Using parent child relationships to find figures 6

This was a question that came across my desk recently: “How do I know what figure numbers are already open?” The way to answer this is to query the “root” (always handle… 続きを読む >>

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

Posts 41 - 50 of 55