Effacer les filtres
Effacer les filtres

How to rotate 3D surface matrices

49 vues (au cours des 30 derniers jours)
Florence
Florence le 10 Mai 2021
Commenté : Star Strider le 10 Mai 2021
I have three matrices for surf command: X, Y, Z. I need to rotate the matrix 45 degrees around the y axis to draw a new surface.Is there anyway to achieve this?The schematic diagram is below.

Réponse acceptée

Star Strider
Star Strider le 10 Mai 2021
It depends on what you want to do.
To rotate the surface in the axes, use the rotate function.
To change the viewpoint (camera angle) use the view function.
  4 commentaires
Florence
Florence le 10 Mai 2021
Thanks again for your answer
Star Strider
Star Strider le 10 Mai 2021
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by