Monthly Archives: October 2011

Functions

I was pleased the other day to have cause to discover that this is valid matlab syntax: make_energy_fun = @(x,f) @(y,w) energy(y,x,f,w); My thoughts: This is great!  I’m creating an anonymous function which takes two parameters and returns an anonymous … Continue reading

Posted in Uncategorized | 2 Comments