How can I cut a vector?

41 ビュー (過去 30 日間)
Marianna Pizzo
Marianna Pizzo 2019 年 3 月 24 日
コメント済み: Smarak 2023 年 8 月 3 日
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 日
vector(1 : 5547)
  3 件のコメント
Emile
Emile 2023 年 8 月 2 日
👍
Smarak
Smarak 2023 年 8 月 3 日
hemlo

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by