Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Returning values in a matrix between 1 and 2
2 ビュー (過去 30 日間)
古いコメントを表示
how would I write a script that returns the values in a matrix between 1 and 2. both using for loops and not.
回答 (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!