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);

 Accepted Answer

More Answers (0)

Categories

Asked:

on 6 Oct 2015

Answered:

on 6 Oct 2015

Community Treasure Hunt

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

Start Hunting!