how to plot only non zero value of a slicing of a 3d matrix?

4 views (last 30 days)
Rabih Sokhen
Rabih Sokhen on 24 May 2022
Commented: Rabih Sokhen on 24 May 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
clear all
slice(a,[1:10],[ ],[ ])

Accepted Answer

Matt J
Matt J on 24 May 2022

More Answers (0)

Community Treasure Hunt

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

Start Hunting!