How to emtpy part of a matrix?
1 次查看(过去 30 天)
显示 更早的评论
If I have a matrix like this :
a = [1 2; 3 4; 5 6; 7 8]
is there a quick way to remove '3' and '4' from the matrix so it looks like :
a = [1 2; [] 4; [] 6; 7 8]?
I only want to remove value in the 1st column starting on the 2nd row and ending at the 2nd last row.
THANKS!
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!