MATLAB Answers

0

how to remove first n entries from iterete sequence or vector.?

A=(1,2 ,3,4,5,6,7,8,9,10)
remove first 3 values.

  0 Comments

Sign in to comment.

2 Answers

Answer by Aravind Ravikumar on 21 Jun 2019
 Accepted Answer

Hey, you can do the following
A = [1,2,3,4,5,6,7,8,9,10]
A = [A(4:end)]
This is an example to remove first 3 values. Replace 4 by n+1 to remove first n elements from the array.

  1 Comment

Sign in to comment.


Answer by Shwetank Shrey on 21 Jun 2019

A = [1,2 ,3,4,5,6,7,8,9,10];
A = A(4:end);

  0 Comments

Sign in to comment.