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.

Risposte (2)

Orion
Orion il 16 Ott 2014

1 voto

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

1 Commento

Vasilis
Vasilis il 16 Ott 2014
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?

Accedi per commentare.

Orion
Orion il 16 Ott 2014

0 voti

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 ,...

Richiesto:

il 16 Ott 2014

Risposto:

il 16 Ott 2014

Community Treasure Hunt

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

Start Hunting!

Translated by