??? Error using ==> sym.double at 29
DOUBLE cannot convert the input expression into a double array.
If the input expression contains a symbolic variable, use the VPA function instead.
Error in ==> mfun>processResult at 121
r = double(r);
Error in ==> mfun at 48
y = processResult(r,siz,nans);