how to identify the particular element and its position in matlab?
3 ビュー (過去 30 日間)
古いコメントを表示
I have
f=[1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 1 0 1 0 0 0 11 2 4 6 2 10 1];
In this f size is 1×35 . I want the answer as, at which positions 1 are present up to length 28.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!