Chage elements of a matrix
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!