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.

 Akzeptierte Antwort

madhan ravi
madhan ravi am 24 Mär. 2019

5 Stimmen

vector(1 : 5547)

3 Kommentare

Marianna Pizzo
Marianna Pizzo am 25 Mär. 2019
Thank you so much.
Emile
Emile am 2 Aug. 2023
👍
Smarak
Smarak am 3 Aug. 2023
hemlo

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Vehicle Dynamics Blockset finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by