Parsing frequencies in a given timeframe

1 view (last 30 days)
I would like to create a sine where in a settable length of time, t = 30, the frequency changes from fa = 50, to fb = 100. I tried doing f= 50:100, attending the detail so that the matrices are equal to t, but it's not working. I also trying using a for, but still no luck.
Any good ideas?
Thank you in advance!

Accepted Answer

tony karamp
tony karamp on 1 Apr 2013
The function 'chirp' could do the trick!
help chirp

More Answers (1)

tony karamp
tony karamp on 1 Apr 2013
actually another problem that arises is, if I want to mess with the phase, how do I do that?

Community Treasure Hunt

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

Start Hunting!