Filter löschen
Filter löschen

An ellipsoid with particular axes.

3 Ansichten (letzte 30 Tage)
Peter Laslo
Peter Laslo am 22 Okt. 2013
Beantwortet: Image Analyst am 23 Okt. 2013
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!

Antworten (1)

Image Analyst
Image Analyst am 23 Okt. 2013
See if my ellipse rotation demo is of any use to you. It's attached below.

Kategorien

Mehr zu Vector Fields finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by