Function Handles - MATLAB & Simulink
www.mathworks.com › help › matlabA function handle is a MATLAB ® data type that represents a function. A typical use of function handles is to pass a function to another function. For example, you can use function handles as input arguments to functions that evaluate mathematical expressions over a range of valu
Plot expression or function - MATLAB fplot
www.mathworks.com › help › matlabFunction to plot, specified as a function handle to a named or anonymous function. Specify a function of the form y = f(x). The function must accept a vector input argument and return a vector output argument of the same size. Use array operators instead of matrix operators for the best performance. For example, use .* (times) instead of ...
matlab - Plotting a function handle of two variables - Stack ...
stackoverflow.com › questions › 26442411Oct 20, 2014 · new_p1x1([30,70], [30,70]) # The matrix [30,70] is passed to both function. I cannot tell, which solution is more useful for you, it depends on what you want to to. However, it seems, fplot only accepts functions with one argument. So it seems, you have to use one of the 3D plotting functions. For 3D plotting, you can use e.g. surf.
matlab - Plotting a function handle of two variables ...
https://stackoverflow.com/questions/2644241119.10.2014 · new_p1x1([30,70], [30,70]) # The matrix [30,70] is passed to both function. I cannot tell, which solution is more useful for you, it depends on what you want to to. However, it seems, fplot only accepts functions with one argument. So it seems, you have to use one of the 3D plotting functions. For 3D plotting, you can use e.g. surf.