Parsing frequencies in a given timeframe

2 次查看(过去 30 天)
hi,
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!

采纳的回答

tony karamp
tony karamp 2013-4-1
The function 'chirp' could do the trick!
help chirp

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by