Surface Plots of 3D Matrix After sum.

조회 수: 3 (최근 30일)
Ali Raza
Ali Raza 2019년 10월 8일
댓글: Ali Raza 2019년 10월 8일
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에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by