|
⇤ ← Revision 1 as of 2025-12-17 20:21:15
Size: 346
Comment: Initial commit
|
Size: 483
Comment: Note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| To instead calculate the surface normal vectors that would be rendered, try: {{{ [norm_X, norm_Y, norm_Z] = surfnorm(X,Y,Z); }}} |
MATLAB surfnorm
The surfnorm function creates a 3D graph of a surface and the surface normal vectors.
Contents
Usage
[X,Y,Z] = cylinder(1:10); figure; surfnorm(X,Y,Z);
See also figures and related commands.
To instead calculate the surface normal vectors that would be rendered, try:
[norm_X, norm_Y, norm_Z] = surfnorm(X,Y,Z);
