Skip to Main Content Skip to Search
Home |   Australia  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

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 excerpts

Doug’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!

Scott and Doug’s searches among the many user-contributed files on MATLAB Central frequently reveal handy items like this one.   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."

Steve explained how to use the MATLAB function imwrite to create a TIFF file with the required resolution. User Aslak Grinsted responded that he had submitted a time-saving tool to the File Exchange for exactly this kind of work. Click on image to see enlarged view.   Steve explained how to use the MATLAB function imwrite to create a TIFF file with the required resolution.

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.

his post on the topic of scalar expansion generated more comments than any other post so far (20 at last count).   This post on the topic of scalar expansion generated more comments than any other post so far (20 at last count). It led to a newsgroup discussion and to some prototype code, submitted by a reader to the MATLAB Central File Exchange. Click on image to see enlarged view.



Resources:



Contact sales
E-mail this page
Print this page
Subscribe to newsletters