How Can I use FFT to extract dq component of specific frequency from distorted signal?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to extract a signal with specific frequency from distorted signal using FFT, but I couldn't find the frequency option in simulink 2016.
any ideas
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 9월 15일
The result of the fft will be a vector. Index into the vector. See https://www.mathworks.com/matlabcentral/answers/33009-simulink-block-to-extract-signal-at-index-from-vector-signal-doesn-t-exist for information on indexing.
You would need to calculate the index to use, in the standard ways based on Fs and number of points to determine the bin width.
댓글 수: 2
Walter Roberson
2016년 9월 15일
frequency resolution is number of points divided by Fs divided by 2. Bin index is 1 + floor(target frequency divided by frequency resolution) . You can do those mathematical calculations using Math blocks
참고 항목
카테고리
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!