For example, i want to create a symbolic function: f(x,y) = min(x-1,y+1);
when f(x,y) = x+y, everything is ok, but when it comes to min, error occured.
syms x yf = symfun(min([x-1 y+1])),[x y])
I got error like this:
"Unable to convert expression into double array."