bio_img_videos

Stuart’s MATLAB Videos

Watch and Learn

Posts 441 - 450 of 573

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

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… 더 읽어보기 >>

Debugging session

clear num = [1 1 1 1 1 1 1]; den = [1 2 3 0 5 6 7]; for i = 1: numel(den) if den(i) == 0 a = 1 else … 더 읽어보기 >>

Exploring uitable properties 12

I got a question via e-mail that was asking how to set the data in a uitable. Setting the data in a uitable is as easy as: >> a = uitable >> set(a,’data’,… 더 읽어보기 >>

Breaking up compound statements for the profiler 4

A statement like this: a = sin(x) + cos(y) + inv(z); makes it impossible to know which part of the calculation is the bottleneck. This video shows how to determine what is slowing your code… 더 읽어보기 >>

Flow chart shows which visualization to use 5

Nathan over at FlowingData.com had a post that explains what visualization to use in different situations. Ultimately he linked to this chart from Andrew Abela of The Extreme Presentation(tm)… 더 읽어보기 >>

Posts 441 - 450 of 573

이 게시물은 작성자 개인의 의견이며, MathWorks 전체의 의견을 대변하는 것은 아닙니다.