|
Size: 645
Comment: Cleanup
|
← Revision 4 as of 2025-12-17 20:38:22 ⇥
Size: 660
Comment: graph -> graphic
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| The '''`fsurf`''' function creates a 2D graph. | The '''`fsurf`''' function creates a 3D graphic of a surface. |
MATLAB fsurf
The fsurf function creates a 3D graphic of a surface.
Contents
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.
