Returning values in a matrix between 1 and 2
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
how would I write a script that returns the values in a matrix between 1 and 2. both using for loops and not.
4 Kommentare
Azzi Abdelmalek
am 20 Apr. 2014
Is this a homework?
Kimberly
am 20 Apr. 2014
Star Strider
am 20 Apr. 2014
Kimberly
am 21 Apr. 2014
Antworten (1)
Walter Roberson
am 21 Apr. 2014
See also logical indexing
values = YourMatrix(YourMatrix > 1 & YourMatrix < 2);
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!