I want to generate a sweep signal sine wave in audio range (20 to 20kHz).
3 views (last 30 days)
Show older comments
I have generated till 2kHz but after that the signal is getting distorted. How do I overcome it.
3 Comments
Image Analyst
on 16 Oct 2015
Do you want a chirp?
chirp
Swept-frequency cosine
Syntax
y = chirp(t,f0,t1,f1)
y = chirp(t,f0,t1,f1,'method')
y = chirp(t,f0,t1,f1,'method',phi)
y = chirp(t,f0,t1,f1,'quadratic',phi,'shape')
Is that what you used? Maybe it's because you said you generated it only up until 2 kHz whereas your subject line said it's supposed to be until 20 kHz.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!