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.

 Respuesta aceptada

madhan ravi
madhan ravi el 24 de Mzo. de 2019

5 votos

vector(1 : 5547)

3 comentarios

Marianna Pizzo
Marianna Pizzo el 25 de Mzo. de 2019
Thank you so much.
Emile
Emile el 2 de Ag. de 2023
👍
Smarak
Smarak el 3 de Ag. de 2023
hemlo

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 24 de Mzo. de 2019

Comentada:

el 3 de Ag. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by