Hello, how can I cut a vector?
I have a vector whose lenght is 14114 and I want to cut the final par of it, in other words I want elements from 1 to 5547. How can I do?
I tried:
for k=1:n %n=5547
SkinResponseinS1(k,1)=SkinResponseinS1(k,1); %SkinResponseinS1 is the vector (14114x1) that I want to cut
end
but nothing happens.

 채택된 답변

madhan ravi
madhan ravi 2019년 3월 24일

5 개 추천

vector(1 : 5547)

댓글 수: 3

Marianna Pizzo
Marianna Pizzo 2019년 3월 25일
Thank you so much.
Emile
Emile 2023년 8월 2일
👍
Smarak
Smarak 2023년 8월 3일
hemlo

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

질문:

2019년 3월 24일

댓글:

2023년 8월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by