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.

Answers (2)

Orion
Orion on 16 Oct 2014
Hi,
just use the Step bloc from the source library.
steptime : 40
initial value : 1
final value : 0

1 Comment

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?

Sign in to comment.

Orion
Orion on 16 Oct 2014
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 ,...

Asked:

on 16 Oct 2014

Answered:

on 16 Oct 2014

Community Treasure Hunt

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

Start Hunting!