Often-used MATLAB Techniques

This page intends to collect MATLAB commands and techniques that I usually use and usually forget. I'm hoping this will be useful.

  • writing cell array to text file [url]
  • write to text file [url]
  • save/print figure [url]

Bar Chart/Graph with Error Bar — Apr 16, 2013 9:23:00 PM

Including text and number on your plot — Feb 4, 2013 1:59:38 AM

Automatically maximize a figure upon creation — Nov 22, 2012 9:34:03 PM

Convert numerical array to numerical cell array — Nov 20, 2012 3:53:07 AM

Convert cell array of string number into numerical array — Nov 20, 2012 3:45:40 AM

Write cell array to text file — Nov 17, 2012 5:43:30 PM

How to modify tick labels on MATLAB plot — Nov 10, 2012 8:16:17 PM

Generate 3D spiral data with labels — May 11, 2012 1:31:00 AM

Generate n different colors (for multiple classes plot) — May 9, 2012 2:10:34 AM

Display a segmentation image — Sep 1, 2011 4:38:44 PM

Convolving (Blurring) an image — Sep 1, 2011 4:29:44 PM

Space between subplots — Aug 31, 2011 10:02:17 PM

How to plot the main title to a figure with many subplots — Aug 31, 2011 9:33:35 PM

Often-used index techniques — Aug 31, 2011 1:33:04 PM

Some facts about meshgrid — Aug 31, 2011 1:32:17 PM

How to not displaying any figure? — Aug 31, 2011 1:31:38 PM

Making array of structure — Aug 31, 2011 1:30:54 PM

How to plot 3D ellipsoid for 3D Gaussian distribution — Aug 31, 2011 1:30:06 PM

How to remove the tick marks from a plot — Aug 31, 2011 1:29:10 PM

Make your own color map — Aug 31, 2011 1:24:06 PM