How to Create triangular pulses by using repeating sequence in simulink
13 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145263/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145264/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145265/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145266/image.png)
2 Comments
Sina Sharifi
on 6 Aug 2020
Hi
Go to Model setting --> solver datils and decrease max. step size (for example, 1e-6).
Answers (1)
See Also
Categories
Find more on Electrical Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!