Find and changing element in matrix (double).
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Haruka Yui
am 22 Mär. 2018
Bearbeitet: Birdman
am 22 Mär. 2018
I have a 10x10 matrix (double). I would like to check on a specific column (example column 1) for an element which value is equal to 2 (example) and then change the corresponding element in the same row but different column (example column 2) to 0. How can i do this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!