replace array value
1 次查看(过去 30 天)
显示 更早的评论
I have a matrix
A=[1 2 3; 4 6 6;7 7 7]
I want to replace all 6 in the second column with 12 i.e A should be
as follows: A=[1 2 3; 4 12 12;7 7 7]
How to do that easily?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!