Azzera filtri
Azzera filtri

Surface Plots of 3D Matrix After sum.

1 visualizzazione (ultimi 30 giorni)
Ali Raza
Ali Raza il 8 Ott 2019
Commentato: Ali Raza il 8 Ott 2019
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?

Risposta accettata

darova
darova il 8 Ott 2019
Try
B = sum(A);
surf(squeeze(B))

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by