sort data
显示 更早的评论
i have an array of data with size of (1,361). I need to select and store all the data from (1,121) to (1,241) into anther array. How can i do this?
采纳的回答
更多回答(1 个)
the cyclist
2012-3-18
% Input
A = rand(1,361);
% Select and store
B = A(121:241);
类别
在 帮助中心 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!