Returning values in a matrix between 1 and 2
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
how would I write a script that returns the values in a matrix between 1 and 2. both using for loops and not.
4 commentaires
Azzi Abdelmalek
le 20 Avr 2014
Is this a homework?
Kimberly
le 20 Avr 2014
Star Strider
le 20 Avr 2014
Kimberly
le 21 Avr 2014
Réponses (1)
Walter Roberson
le 21 Avr 2014
See also logical indexing
values = YourMatrix(YourMatrix > 1 & YourMatrix < 2);
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!