Clear Filters
Clear Filters

How to plot 3D matrix in form of cube

1 view (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

Accepted Answer

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

More Answers (1)

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

Tags

Community Treasure Hunt

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

Start Hunting!