How to plot 3D matrix in form of cube

조회 수: 1 (최근 30일)
Yapo OBOUE
Yapo OBOUE 2019년 6월 18일
댓글: Yapo OBOUE 2019년 6월 21일
Hello everyone, I have a 3D matrix of size [t, x, y]=size(D), where t=300; x=12 and y=12. How to plot t with respect to x, y for 3D cube ? Thanks

채택된 답변

Bjorn Gustavsson
Bjorn Gustavsson 2019년 6월 18일
Use the slice function.
HTH

추가 답변 (1개)

Fabio Freschi
Fabio Freschi 2019년 6월 18일
try
figure;
surf(D);
  댓글 수: 1
Yapo OBOUE
Yapo OBOUE 2019년 6월 21일
Hi dear Fabio Freschi, thanks to response to me.

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

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by