How can I change frequancy of Sine wave in simulink based on other output blocks?

3 views (last 30 days)
I want to select one waveform pattern out of 6 waveform defined in simulink and change frequency in run time based on output of some other block.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 26 Aug 2013
Edited: Azzi Abdelmalek on 26 Aug 2013
use a matlab function block with two inputs : the pulse w and the time (from clock block)

Community Treasure Hunt

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

Start Hunting!