Displaying all elements of a matrix less than -50
3 ビュー (過去 30 日間)
古いコメントを表示
In my homework I have to assign a column vectore e to all the elements of matrix M that are less than -50, then display them like so
-60
-83
-78
-51
All my attempts so far have only yielded a logical array of 1s and 0s, and to be honest I have no clue where to go. Also it probably goes without saying that I am very new to MatLab. Thanks in advance!
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!