varible duty cycle square wave

Hi everyone;
I am trying to create square wave, but I need to change duty cycle during simulation according to another parameter. How I can do that in simulink(in used defined function or with blocks) ?
thank you so much....

Answers (1)

Mischa Kim
Mischa Kim on 10 Mar 2014
Baran, there are a couple of blocks on File Exchange .

2 Comments

Thank you,but I need to keep frequency constant, change duty cycle.
have you find answer if you plz share with me @BARAN Ozbakr

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 10 Mar 2014

Community Treasure Hunt

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

Start Hunting!