plot 3 d square

6 visualizaciones (últimos 30 días)
Oday Shahadh
Oday Shahadh el 23 de Jun. de 2020
Comentada: Oday Shahadh el 24 de Jun. de 2020
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 comentarios
darova
darova el 24 de Jun. de 2020
Its in 3d already. What do you mean?
Oday Shahadh
Oday Shahadh el 24 de Jun. de 2020
x,y,z

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by