Surface Plots of 3D Matrix After sum.

1 次查看(过去 30 天)
I have 3D matrix A size of (10 x 3 x 5), and If I sum it one time {i.e. A = sum(A)}, which gives (1 x 3 x 5). How can I plot this using "Surf"? or anyother 3D plot?

采纳的回答

darova
darova 2019-10-8
Try
B = sum(A);
surf(squeeze(B))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by