필터 지우기
필터 지우기

An ellipsoid with particular axes.

조회 수: 2 (최근 30일)
Peter Laslo
Peter Laslo 2013년 10월 22일
답변: Image Analyst 2013년 10월 23일
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!

답변 (1개)

Image Analyst
Image Analyst 2013년 10월 23일
See if my ellipse rotation demo is of any use to you. It's attached below.

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by