How can I remove values from a matrix outside the range and create matrix within the range

22 vues (au cours des 30 derniers jours)

Réponse acceptée

per isakson
per isakson le 6 Juil 2015
Y = X( X>=20 & X<=23 );
  3 commentaires
Ishaan Chauhan
Ishaan Chauhan le 15 Fév 2021
How would you do this for a much larger matrix that isn't 1 x (_) ?
Best, and sorry for continuining a 6 year old thread
KCE
KCE le 30 Mar 2022
How would this be done for a 2D array?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by