how to remove or cut off few data points in distance and elevation vector in up and down inorder to work only with the overlapping part ?

7 visualizzazioni (ultimi 30 giorni)
In Distance vector I have to remove few datapoints and also Elevation vector I have to cut few datapoints in top and bottom of plot same as for data 2 in order to work only with the overlapping part.

Risposta accettata

KSSV
KSSV il 11 Mar 2021
Use logical indexing and pick the points/ remove th points which you don't want.
EXample:
A = rand(1,100) ;
A(A<0.5) % picking only points less than 0.5
  1 Commento
Anusha Chintada
Anusha Chintada il 11 Mar 2021
Modificato: Anusha Chintada il 11 Mar 2021
Thanks for the reply. so, my question was i have Distance vector with one row and 3159 columns, I want to remove let say first row, first column datapoint i.e.,861.8377 and soon on upto first row 17 column i.e, 4.056768e+03. how can implement this. Thanks in advance

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by