How to index random points from vector
1 次查看(过去 30 天)
显示 更早的评论
I have a vector "faa" of size 64 rows X 1 column and wish to extract the first point and a range of 22:42nd data points. How do I do this
0 个评论
采纳的回答
Star Strider
2015-10-7
To combine them all in one ‘Result’ vector:
Result = [faa(1); faa(22:42)];
Otherwise:
faa_1 = faa(1);
faa_22_42 = faa(22:42);
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Special Characters 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!