generation a train of impulses in simulink

Hi,Help please,I wanna to generate a train of impulses in simulink as input to my system .Actually my goal is to generate an impulse at any sample time(for example in T=0,0.5,1,1.5,...,Tend) with pulse duration of 0.001 second and variable magnitude that their magnitudes calculate simultaneously from feedback control rules. My question is how do i generate this train of impulses?

回答 (1 件)

John Petersen
John Petersen 2012 年 12 月 3 日
編集済み: John Petersen 2012 年 12 月 3 日

0 投票

One option is to use the pulse generator. Instead of fixed values, use variables and define them in your system. Make sure you initialize them.
Another option is to create a custom block with clock input and your other inputs and create your own pulse generator.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2012 年 12 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by