How do I find the frequency of a Sine wave input by a user?
1 view (last 30 days)
Show older comments
I am a beginner in MATLAB .
I am trying to take an input from user i.e a sine wave, and want my code to calculate its frequency.
If the user gives the input as...
x=sin(2*pi*1000*t) %%%%here 1000 is the frequency....
...how do I extract the frequency?
please help me
1 Comment
Answers (0)
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!