This week we will be looking at the MATLAB class system. This video does not cover the “why” of doing OOP (Object Oriented Programming) in MATLAB. It just covers a very simple example… read more >>
This week we will be looking at the MATLAB class system. This video does not cover the “why” of doing OOP (Object Oriented Programming) in MATLAB. It just covers a very simple example… read more >>
This is a puzzler without explanation. Brett got it in about five minutes, some of the other folks wandering near my office got it in just under 20.
The data to explore.
Remember to use the… read more >>
This short video shows how you can take a sparsely sampled sine wave and use interp1 to interpolate the missing data points. Different interpolations such as linear, spline and nearest are all shown…. read more >>
Update: This solution was found faster than expected. I have replaced the original with a stronger solution that I was holding in reserve. Congrats to DanK for solving the original ( found here… read more >>
Sometimes in MATLAB you are going to want to store different data types together in one construct rather than try and keep track of different variables. Structures work for this, but sometimes it is… read more >>
I wanted to thank everyone for posting their videos as requested in my prior post [click here]. Here are some of my favorite entries. I will be in touch with the authors to send them some fabulous… read more >>
This week’s puzzler is significantly harder than others we have done in the past, I would be surprised (and delighted) to see an answer before I go home tonight… The challenge is shown… read more >>
It is no secret that I like teaching MATLAB through videos. I use Camtasia to make and edit my videos, I am very happy using it. If you want to make MATLAB videos too, you can use Jing, by the… read more >>
Here is a new MATLAB Puzzler. Given two vectors representing the X and Y coordinates of some points, find the two closest points in Cartesian space. n = 10; x = rand(1,n); y = rand(1,n); … read more >>
This week we will take a look at how you can capture the mouse movement through callbacks. As the mouse moves, we will update the xdata of a line so that you are moving the line with the mouse. if… read more >>