how to deal with samples in simulink models

Hi everyone i am new in simulink, and i build a small system that i want to deal with each element of an array separately. all block deal with the whole array like multiplication or summing and all other blocks is there any way to help me to deal with each element separately, i.e. x(5) and x(8) individually from the other array elements.
thanks

1 件のコメント

Anuj
Anuj 2014 年 2 月 4 日
Your question is not clear, What do you exactly want to do?

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 4 日

0 投票

If x is an array with a fixed size, you can use a Demux block, you can also use a Matlab function block
Kaustubha Govind
Kaustubha Govind 2014 年 4 月 4 日

0 投票

You can use the Selector block to pick selected elements of the input matrix.

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

製品

質問済み:

2014 年 2 月 4 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by