I am not able to find correct frequency when I increase the sweeping frequency from 50 to 100. Why is that?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!