The MathWorks News & Notes - October 2006
MATLAB Central
Sharing Ideas and Opinions on the MATLAB Central Blogs
Developers and users engage in lively online conversations on topics ranging from technical tips, tools, and workarounds to suggestions for new product features. Here are some excerptsDoug’s Pick of the Week
Stop it! Sometimes you just know you are going to want to break out of a loop in MATLAB, but ctrl-C is not what you are looking for because you are going to want to debug. A conditional breakpoint is not going to work either (right-click on a breakpoint in the editor to make it conditional). Greg Aloe’s post:dbloop will do the job quite nicely. It will have MATLAB listen for a certain keypress and then enter debug mode in the middle of the loop. Brilliant!
![]() |
Doug’s searches among the many user-contributed files on MATLAB Central frequently reveal handy items like this one. Click on image to see enlarged view. |
Steve on Image Processing
"Help! My publisher wants a 300 dpi TIFF!"
MATLAB user Paul contacted me recently to ask how to convert 150 dpi JPEGs to 300 dpi TIFFs. He was working with a publisher who expected all electronically submitted images to be 4 inches by 6 inches at 300 dpi. There is often a disconnect between engineers and scientists doing image processing and printers or publishers. Publishers seem to think that every image must be measured in inches, whereas MATLAB users’ data might more appropriately be measured in kilometers or nanometers. Some users don’t even know what the printer means by "Your image isn’t 300 dpi."
Loren on the Art of MATLAB
A blog reader asked me about extending the meaning of the arithmetic operators to do more than scalar expansion, and extend the expansion to singleton dimensions. In this post, I discuss the evolution of scalar expansion in MATLAB, talk about possible future designs, and open up the discussion to your input.
Store


