How to Create triangular pulses by using repeating sequence in simulink

Hi all.
I am not able to get triangular pules. Instead I am getting random waveform.Please find the below screen shot which shows the parameters which I used.I have attached both the desired output and the output I am getting.
Please guide me on this issue.
Thanks.

2 Comments

Hi
Go to Model setting --> solver datils and decrease max. step size (for example, 1e-6).

Sign in to comment.

Answers (1)

Categories

Asked:

on 3 Sep 2014

Commented:

on 6 Aug 2020

Community Treasure Hunt

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

Start Hunting!