how to plot only non zero value of a slicing of a 3d matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Rabih Sokhen
am 24 Mai 2022
Kommentiert: Rabih Sokhen
am 24 Mai 2022
Hello everyone,
I am trying to slice a 3d array over the x direction, however, I would like to plot only nonzero values of every single slice.
Can someone help me with this plz?
Thank you in advance
code:
clear all
clc
a=randi(5,10,10,10)
slice(a,[1:10],[ ],[ ])
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!