フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

suppose i have a matrix [1.22 0 2.33 3.444 1.222 0] and i want the solution to be the number of iterations between non zero values. the solution should be [1 2 1 1]

1 回表示 (過去 30 日間)
harshwardhan rathod
harshwardhan rathod 2017 年 3 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Z(xidx) = z;
this is the vector that i have.
  1 件のコメント
Star Strider
Star Strider 2017 年 3 月 19 日
Your vector has 6 elements and your ‘solution’ has 4.
What procedure do you use for getting the ‘solution’? What ‘rule’ do you use?

回答 (0 件)

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by