how to remove fewdatapoints in a matrix?

I have matrix with one row and 3159 columns as shown below. so, I want to remove first row, first column datapoint i.e, 861.8377 and soon on upto first row, 17 column datapoint ie, 4.0568e+ 03. how can implement this. Thanks in advance

 Accepted Answer

Jan
Jan on 11 Mar 2021
Edited: Jan on 11 Mar 2021
Distance = Distance(18:end)
or
Distance(1:17) = [];

3 Comments

If want to remove first row, 2159 column datapoint soon upto first row, 3159 column datapoint . how can i do this. please
I do not understand, what you are asking for. Maybe you mean:
Distance(2159:2159) = []
Did you read Matlab Onramp already?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 11 Mar 2021

Commented:

Jan
on 11 Mar 2021

Community Treasure Hunt

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

Start Hunting!