File Exchange Pick of the Week

Our best user submissions

Shift individual rows and columns

Posted by Doug Hull,

SHIFTD and its three brothers allow you to shift one column or row relative to the others in a matrix. This is one of those functions you will not need very often, but you will be glad not to have to write it yourself when you do need it.
read more >>

Interactive volume visualization tool

Posted by Michelle Hirsch,

SLICEOMATIC is an interactive tool for displaying cross-sections through three-dimensional data sets. It will also display isosurfaces, which are surfaces within a volume that have the same value. I find it much quicker and easier to use than SLICE for interactive data exploration. You have to try this… read more >>

Make thumbnail images

Posted by Doug Hull,

MAKETHUMBDIR makes smaller thumbnail versions of all images in a directory. This is very useful for automatically generating reports in HTML, or for preparing a lot of graphics to go into another document. This M-file is a great example of using MATLAB scripting for repetitive tasks.
read more >>

Easily copy and paste large matrices from your command window

Posted by Doug Hull,

PRINTMATRIX displays a matrix in the command window so that it can be easily selected copied and pasted into Excel. Matrices with a large number of columns are not easily selected as text in the command window because they get wrapped. If you want to select the matrix as text... read more >>

Clear all but specified variables

Posted by Doug Hull,

KEEP can be thought of as the complement to CLEAR. KEEP clears all variables from the workspace except for those specified. I find KEEP to be one of those functions I use so much that I forget it isn’t part of MATLAB.
read more >>

Rotate XTickLabels

Posted by Michelle Hirsch,

XTICKLABEL_ROTATE does exactly what its name promises – this file rotates the tick labels along the x-axis. This is very useful for packing in longer tick labels.
read more >>

Super title

Posted by Doug Hull,

Note: The File Exchange submission mentioned here has been removed, so links to it from this post have also been removed.
SUPTITLE addresses a need we’ve all had at one time or another – to put one single title (a SUPER TITLE) across a figure with multiple subplots. I find it really… read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.