Replacing values in a matrix
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Naoufel Farid
am 6 Feb. 2021
Kommentiert: Naoufel Farid
am 6 Feb. 2021
Hello, I'm having trouble figuring out how to replace values in a matrix that fall between two values.
For example, lets say i have matrix, and i want to replace all values that fall between 20 and 50 with -3 instead, how would I go about doing that?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!