Create specific pulse Simulink

Hello. I'd like to create a specific pulse wave using Simulink. I want the pulse to have the characteristics below:
1)Total time: 60 (m sec)
2)Amplitude 1: from 0 to 40 (m sec)
3)Amplitude 0: from 41 (m sec) to 60 (m sec)
Thanks in advance.

回答(2 个)

Orion
Orion 2014-10-16

1 个投票

Hi,
just use the Step bloc from the source library.
steptime : 40
initial value : 1
final value : 0

1 个评论

Ok. In order to have 20 (m secs) of zero amplitude can i do something else than just have a simulation time of 60 (m sec) in total?

请先登录,再进行评论。

Orion
Orion 2014-10-16

0 个投票

if you want to create a signal a bit more complicated, use the signal builder instead. so you can easily change the number of pulses you want to make, the duration of each, the amplitude ,...

类别

提问:

2014-10-16

回答:

2014-10-16

Community Treasure Hunt

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

Start Hunting!

Translated by