Chage elements of a matrix
Ältere Kommentare anzeigen
I have created a matrix filled with ones with this;
Matrix = ones(5,4)
And I want to change every second element of the matrix with random values how can I do it?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices 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!