How to plot square inside sphere?

조회 수: 7 (최근 30일)
Kmu
Kmu 2015년 3월 18일
댓글: Andrew Newell 2015년 3월 18일
With reference to figure shown, ; instead of circle, I want to plot * *square on sphere* * . X,Y,Z values of 1 point in sphere coordinate I know. Keeping that point as center I want to plot square. Square size may be anything. But is it possible to plot square on sphere?
Please let me get the solution.. Thank you, in advaance..
  댓글 수: 2
Roger Stafford
Roger Stafford 2015년 3월 18일
Only the square's four vertices can lie on the sphere's surface. The four edges are necessarily inside.
Andrew Newell
Andrew Newell 2015년 3월 18일
There are two parts to this problem - the mathematical one of identifying four vertices on the sphere and the graphical one of plotting it. Since this forum is for help in MATLAB, you should solve the first part and then we can show you how to plot it.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by