Extract indices of vector?
4 ビュー (過去 30 日間)
古いコメントを表示
Hello all, In my research work, I came across a stiuation where I want to extract indices of filled positions of a coulmn vector.
For e.g., B is a vector of dimension 8 X 1 wherein any two rows are non-zero while others are zero.
Then how can we extract the indices of non-zero row in MATLAB.
Any help in this regard will be highly appreciated.
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!