Surfnorm cubic fit plot

조회 수: 3 (최근 30일)
Deniz
Deniz 2019년 4월 3일
댓글: Adam Danz 2025년 2월 27일
Hello community,
The function surfnorm says "After performing a bicubic fit of the data in the x, y, and z directions, diagonal vectors are computed and crossed to form the normal at each vertex."
I am wondering how I can plot the fitted curves to check if it was a correct shape in surfnorm. With this information, I can compare the normal with the real surface normals and the generated mesh-surfnorm normals.
An example top view:
For instance the normals from the surfnorm on such a mesh do not seem to be convenient, that's why I want to compare the results.
Thank you for your help and time!
  댓글 수: 2
Bjorn Gustavsson
Bjorn Gustavsson 2019년 4월 3일
I dont see a surface?
One thing to keep in mind is that you might need to explicitly tell matlab to have equal scales in all three (two in your plot?) directions:
axis equal
HTH
Adam Danz
Adam Danz 2025년 2월 27일
Some background information on the surfnorm algorithm may be helpful.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by