Element replacement of matrix.
Show older comments
How do I replace each element in third row of the 5*4 matrix with its corresponding column number using for loop?
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements 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!