plot 3 d square

조회 수: 1 (최근 30일)
Oday Shahadh
Oday Shahadh 2020년 6월 23일
댓글: Oday Shahadh 2020년 6월 24일
hi
this script must plot a square, but i got the attached plot, how to connect all lines?
thanks
vhat1=[x,repmat(2,length(y),1),repmat(2,length(z),1)];
vhat2=[(x),repmat(-2,length(y),1),repmat(2,length(z),1)];
vhat3=[repmat(2,length(x),1),y,repmat(2,length(z),1)];
vhat4=[repmat(-2,length(x),1),y,repmat(2,length(z),1)];
vhatt=[vhat1;vhat2;vhat3;vhat4];
  댓글 수: 4
darova
darova 2020년 6월 24일
Its in 3d already. What do you mean?
Oday Shahadh
Oday Shahadh 2020년 6월 24일
x,y,z

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

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by