I came into matrix world from loop world (C, etc)
I would like to call a function on each individual member of a vector/matrix, and return the resulting vector/matri
Yes.
function retval = newfun(v) retval = a*exp(-((v-b).^2)/(2*c*c)); endfunction