How to plot 3D matrix in form of cube

2 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

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);

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!