how can i select part of column from matrix 2000*6
53 次查看(过去 30 天)
显示 更早的评论
x=m(:1)
its ok i'm already select column but i want part from column same 1400:1500 so i'm try already
example
x=m(:1,1400:1500)
but not work (error) so how can i take this part from column
0 个评论
采纳的回答
Perry
2015-3-18
acessing a range in a matrix?
x=10x10
x1=x(:,[5:7 9:10]);
%it means your new matrix x1 consist of matrix all rows(:) and a column
range of 5-7 and 9-10
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!