Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: is it possible to give different frequencies for different timespan in simulink ?
Replies: 2   Last Post: Feb 13, 2013 8:55 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Phil Goddard

Posts: 348
Registered: 1/27/12
Re: is it possible to give different frequencies for different timespan in simulink ?
Posted: Feb 12, 2013 2:46 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Make a counter out of a constant block, a summation block and a unit delay block.
Set appropriate parameters for the counter to count by 10 with a sample time of 10.

With a product block and a time block, multiply the output of the above by time.

Feed the result into a trig. block (set to use cosine).

Phil.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.