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

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)

use a matlab function block with two inputs : the pulse w and the time (from clock block)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 26 Aug 2013

Community Treasure Hunt

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

Start Hunting!