MATLAB Answers

How to plot 3D matrix in form of cube

31 views (last 30 days)
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

  0 Comments

Sign in to comment.

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 18 Jun 2019
Use the slice function.
HTH

  0 Comments

Sign in to comment.

More Answers (1)

Fabio Freschi
Fabio Freschi on 18 Jun 2019
try
figure;
surf(D);

  1 Comment

Yapo OBOUE
Yapo OBOUE on 21 Jun 2019
Hi dear Fabio Freschi, thanks to response to me.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!