MATLAB fsurf

The fsurf function creates a 3D graphic of a surface.


Usage

The fsurf function takes a function handle or symbolic expression as the first argument, and bounds to render as the second. Note that [-2,2] is interpreted as [-2 2]x[-2 2]. Compare to [-2,2,-5,5] which is interpreted as [-2 2]x[-5 5].

syms x y;
plane = 2*x + 10*y - 5;

figure;
fsurf(plane, [-2,2,-2,2]);

See also figures and related commands.


CategoryRicottone

MATLAB/FSurf (last edited 2025-12-17 20:38:22 by DominicRicottone)