how can i change the columns in the matrix? For example I wanna change 2nd and 3rd column
2 views (last 30 days)
Show older comments
M = [1 2 3 4; ...
2 4 6 8; ...
3 6 9 12];
3 Comments
Image Analyst
on 9 Jan 2013
How about you change them both to zeros? Next time, give an example of what you want your output to be so people won't have to guess.
Accepted Answer
More Answers (0)
See Also
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!