How to do the following in one line?

data = data(data>xmin); data = data(data<xmax);
This is not working: data = data(data>xmin && data<xmax);

 Réponse acceptée

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by