Setting all the entry in multiple columns to zero
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
alpedhuez
am 25 Mär. 2018
Beantwortet: David Fletcher
am 25 Mär. 2018
Suppose I have a matrix A that is 1000*5. Suppose I want to set all the elements in the third, fourth, and fifth columns to be zero. Is there any compact way to write this?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!