f=str2func('@(x,y,z) x+y+z');w=[1,1,1]; y=f(w) % want to compute f(1,1,1) using vector x
This gives an error when I tried to compute y
Thanks in Advance for your help !!
vector str2func
f=str2func('@(x,y,z) x+y+z');w=[1,1,1]; y=f(w) % want to compute f(1,1,1) using vector x
Best Answer