フィルターのクリア

Info

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

I want to select only 2,3,4 from an array of [ 1 2 3 4 5 6 7 8].How can i implement this in Simulink?

1 回表示 (過去 30 日間)
Sam Johnson
Sam Johnson 2015 年 11 月 5 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I want to select only 2,3,4 from an array of [ 1 2 3 4 5 6 7 8].How can i implement this in Simulink?
  2 件のコメント
Guillaume
Guillaume 2015 年 11 月 5 日
Not enough information provided. What is the selection criteria?
You want [2 3 4] because of their positions (indices 2 to 4)
You want [2 3 4] because of their values (values between 2 and 4)
You want [2 3 4] because they're the first three numbers following a 1?
Some other reason?
Each case results in a different solution.
Sam Johnson
Sam Johnson 2015 年 11 月 6 日
I want because of their positions.My position can be dynamic.

回答 (1 件)

mangal deep
mangal deep 2015 年 11 月 5 日
One possible solution would be you can filter all those required number store it in a variable using matlab and then you can export this variable to simulink..

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

Community Treasure Hunt

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

Start Hunting!

Translated by