Here I am giving the command and error shown by MATLAB.

phi=chebfun2(@(phi,p) phi, V2);

??? Undefined function or method 'chebfun2' for input arguments of type 'function_handle'.

Similar questions and discussions