jake RSS


jakehofman.com

Archive

Aug
10th
Mon
permalink

tip: matlab

use java.util.Hashtable for a hashtable http://tinyurl.com/d5rwv6

tips  matlab 
Jul
13th
Mon
permalink

tip: matlab

use spdiags to row-wise (or column-wise) normalize a sparse matrix http://bit.ly/v4xbm (via @ssuri)

tips  matlab 
Apr
2nd
Thu
permalink

tip: matlab

use the datetick function to get date formatted tick labels. useful with rotation. http://bit.ly/I1c0 http://bit.ly/1FnSNe

tips  matlab 
Feb
5th
Thu
permalink

tip: matlab

use datetick and datenum to get date formatted tick labels

tips  matlab 
Nov
20th
Thu
permalink

tip: matlab

inputname(n) will give the variable name of the n-th function input

tips  matlab 
permalink

tip: matlab

to use a variable to define a structure field to be accessed, use parens, e.g. mystruct.(varname)

tips  matlab 
permalink

tip: matlab

to search for m files that include private functions, use which -all

tips  matlab 
Nov
18th
Tue
permalink

tip: matlab

the savepath (or pathtool) utilities alter $MATLABROOT/toolbox/local/pathdef.m

tips  matlab 
permalink

tip: matlab

isunix is true for a unix machine (see also ispc, ismac, and computer)

tips  matlab 
permalink

tip: matlab

use startup.m and finish.m in ~/.matlab// to customize matlab startup and exit, respectively, including path modifications

tips  matlab