let's Consider a (vector or Matrix) function Like below:
matfunc=@(x)[x^2 cos(x) e^x 3*x];
I want to access to an specified array,Like (1,3) at x=3. How Can I Do this in MATLAB? I've tried:
matfunc(3)(1,3)
(matfunc(3))(1,3)
matfunc(3,1,3)
but it doesn't Work.