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

 채택된 답변

Star Strider
Star Strider 2015년 10월 7일

0 개 추천

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);

추가 답변 (1개)

카테고리

질문:

2015년 10월 7일

답변:

2015년 10월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by