discrete Fourier transform maximum value

조회 수: 14 (최근 30일)
Soomin Yang
Soomin Yang 2017년 6월 10일
댓글: Star Strider 2017년 6월 10일
Hi, guys, I have question bout DFT problems I'm trying to find the maximum absolute value of DFT. The original signal is sin wave with 2KHz. Sampling frequencies are 10KHz. N=100 samples of this signal are transformed using the DFT, yielding 100 samples in frequency domain: X0, X1,…,XN-1. And, wondering which samples have maximum absolute values?

답변 (1개)

Star Strider
Star Strider 2017년 6월 10일
Use the Signal Processing Toolbox findpeaks function. It will return the maximum value and the associated frequency.
Otherwise, use the max function with 2 outputs. The second output is the index of the maximum value. Use that with your frequency vector to find the maximum value.
  댓글 수: 2
Soomin Yang
Soomin Yang 2017년 6월 10일
Really thanks for your help :) Is there any other way to find without using MATLAB? I mean just calculate or estimate by hands.
Star Strider
Star Strider 2017년 6월 10일
My pleasure.
If you are calculating it by hand, plot it and then just look at the plot to see where the maximum is!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!