How to filter out the table rows not matching the defined criteria?
4 views (last 30 days)
Show older comments
I have a table that has multiple columns. See below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/668108/image.png)
I want to remove the rows that don't satistfy this condition: frame_id != "map" AND child_frame_id != "drone_base".
The remaining array should contain the "x" values of the remaining rows whose frame_id == "map" AND child_frame_id == "drone_base".
How would I go about doing that?
0 Comments
Answers (1)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!