Array of Strings
December 3, 2009
Since Matlab treats strings as arrays, to create an array of strings put curly braces around the array index variable:
names{index} = ’string value here’
Changing Default Font for Axes in Matlab
August 14, 2009
For some reason, the default font for the axes of a figure in Matlab is Helvetica, which is strange since many XP machines don’t have that particular font installed. To change this behavior use
set(0, 'defaultAxesFontName', '<fontname>');
I added this line to my startup.m file since most of the documents that I write all use the same font.