leaving_traces
leaving_traces

Reputation: 97

Command for delete first few rows in MATLAB

Let's say

n =

       1
       2
    1767
    1768
    1769
    1770
    1771
    1772
    1773
    1774
    1775
    1776

and I want n to be like

n=

    1767
    1768
    1769
    1770
    1771
    1772
    1773
    1774
    1775
    1776

this is just for an example. I want to make command for general application. The data over 100 is valid. Could you please help me out?

Upvotes: 0

Views: 91

Answers (1)

Dan
Dan

Reputation: 45752

If you want to remove all the numbers below 100 then:

n = n(n <= 100);

Upvotes: 1

Related Questions