Simlink pulse generator rise/fall time

How can I specify rise/fall time for the pulse generator in the simulink? If it can't be done, is there anyway to generate square wave in simulink with certain rise/fall time? Thanks for any answer.

2 Comments

You mean a trapezoid curve?
@Fangjun Jiang Yes, it can be a trapezoid curve.

Sign in to comment.

Answers (1)

Use a "Repeating Sequence" block and provide the time-value pairs. If your version of Simulink has the "Signal Builder" block, add a customer data signal and you can even adjust the rising/falling by dragging and moving the points.

Categories

Find more on General Applications in Help Center and File Exchange

Tags

Asked:

on 24 Apr 2023

Answered:

on 24 Apr 2023

Community Treasure Hunt

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

Start Hunting!