I am not able to find correct frequency when I increase the sweeping frequency from 50 to 100. Why is that?
2 views (last 30 days)
Show older comments
Hello, I am providing you the codes I am having issue with. The problem is when I am using the sweeping frequency as 50 Hz, the fft is showing perfect peaks at 62 and 66 kHz. But if I sweep the frequency at 100 Hz, its showing its peak a 61.9992 kHz. I am not sure the reason why? I am providing the code here. Also the image is also provided. You can only run the first for loop and the problem wil appear.
0 Comments
Answers (0)
See Also
Categories
Find more on Fourier Analysis and Filtering in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!