Returning values in a matrix between 1 and 2
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
how would I write a script that returns the values in a matrix between 1 and 2. both using for loops and not.
4 件のコメント
Azzi Abdelmalek
2014 年 4 月 20 日
Is this a homework?
Kimberly
2014 年 4 月 20 日
Star Strider
2014 年 4 月 20 日
Kimberly
2014 年 4 月 21 日
回答 (1 件)
Walter Roberson
2014 年 4 月 21 日
See also logical indexing
values = YourMatrix(YourMatrix > 1 & YourMatrix < 2);
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!