An ellipsoid with particular axes.
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I can generate an ellipsoid using the coordinate axes as the major and minor axes using the ellipsoid function - http://www.mathworks.com/help/matlab/ref/ellipsoid.html
Given three vectors - (v1,v2,v3), (w1,w2,w3) and (z1,z2,z2)
I want to rotate it so that it has 1) A major axis along the line through (v1,v2,v3) and it goes through (v1,v2,v3) 2) A minor axis along the line through (w1,w2,w3) and it goes through (w1,w2,w3) 3) A minor axis along the line through (z1,z2,z3) and it goes through (z1,z2,z3)
I am trying to use the rotate function http://www.mathworks.com/help/matlab/ref/rotate.html but so far I haven't had success.
Can anyone help me out? Thanks!
0 Commenti
Risposte (1)
Image Analyst
il 23 Ott 2013
See if my ellipse rotation demo is of any use to you. It's attached below.
0 Commenti
Vedere anche
Categorie
Scopri di più su Vector Fields in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!