Remove certain values from coupled vectors

Hi,
I have two vectors, X and Y. I need to remove values that are above 100 in X, but also remove the corresponding values from Y. Is this possible to do in a simpple manner?
Thanks
Erik

 Accepted Answer

See the "Indexing with Logical Values" section on this documentation page.

More Answers (0)

Categories

Find more on Aerospace Blockset in Help Center and File Exchange

Tags

Asked:

on 31 Aug 2020

Answered:

on 31 Aug 2020

Community Treasure Hunt

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

Start Hunting!