How can I plot surface normals?

This question was flagged by Cris LaPierre
  • Flagged as Duplicate by Cris LaPierre on 24 Mar 2021.

    https://www.mathworks.com/matlabcentral/answers/769632-how-can-i-plot-the-surface-normal-variation-of-any-given-surface?s_tid=srchtitle

I am using the PDE toolbox to import a geometry and plot it. I now need to obtain the surface normals of that geometry, but I can't seem to do it. I have tried surfnorm and quiver, but it doesn't lead me anywhere. I don't know what I'm doing wrong. Any ideas?

2 Comments

surfnorm needs surface object. Can you interpolate your data to create surface?
The object I am importing is a surface, so I assumed that would do it.

Answers (0)

This question is closed.

Asked:

on 24 Mar 2021

Closed:

on 6 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!