I want to remove data from a table using conditions
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Haisam Khaled
am 15 Dez. 2021
Beantwortet: Haisam Khaled
am 15 Dez. 2021
I want to delete the data above the red line using conditions
I used this code but the image says it all.
gh=(vntaxi.Fare >= 55 & vntaxi.Fare <= 100 & vntaxi.Distance <= 20);
tes=vntaxi(~gh,:);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/835445/image.png)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!