Filtering Values in Matlab in the Same Matrix Size
Ältere Kommentare anzeigen
I have a matrix 3x3.
I want to see numbers greater than 5.
so
A = [2 5 8; 2 6 7; 1 9 5]
the answer will be
Ans = [0 0 8; 0 6 7; 0 9 0]
Thanks şn advance for your help
3 Kommentare
Dyuman Joshi
am 26 Okt. 2023
Les Beckham
am 26 Okt. 2023
Also, if you are just getting started with Matlab, I would highly recommend that you take a couple of hours to go through the free online tutorial: Matlab Onramp
Fatih
am 26 Okt. 2023
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!