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 >>
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 >>
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 >>
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 >>
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 >>
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 >>
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 >>
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 >>
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 >>
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 >>
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 >>