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