addition in simulink matlab

3 ビュー (過去 30 日間)
waseem
waseem 2020 年 12 月 29 日
回答済み: Pratik 2025 年 1 月 2 日
I have simulink model and i am getting some signal in scope.
I want to take sum of the signal values for each of 50 data and display the result in another scope.
how to do it?
Example:
Suppose the incoming signal values are 1, 2,3,4,5,6,,8,9,10,11......... and i want to divide in block wth 3 data each and add
like: sum (1+2+3) and display the result
Similarly (4+5+6) and dispaly the result
subsequenctly (8+9+10) dispaly the result.-----

回答 (1 件)

Pratik
Pratik 2025 年 1 月 2 日
Hi Waseem,
'Buffer' block can be used to create frames from a series data, please refer to the following documentation for more information:

カテゴリ

Help Center および File ExchangeView and Analyze Simulation Results についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by