How to plot foci points & semi-major/minor axis for an ellipse

조회 수: 2 (최근 30일)
Dan Lardner
Dan Lardner 2021년 3월 9일
댓글: Mathieu NOE 2021년 3월 12일
Hi,
I am quite new to Matlab and I am trying to plot an ellipse which display the centre co-ordinates, foci and the semi-major/minor axis.
I have manged to plot the ellipse and display the centre co-ordinates and the points for the foci, however the foci points are offset for some reason and I am unsure what I need to do to have them placed in the correct position.
Also I'm not sure how to start to plot the semi-major/minor axis.
I have attached the code so far.
Could I please obtain some guidance to resolve this problem.
Regards
  댓글 수: 3
Dan Lardner
Dan Lardner 2021년 3월 12일
Thanks for the advice Mathieu.
This did not solve my problem immediately, however it gave me a good approach and I managed to resolve the issue in the end.
Regards

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by