How do ı calculate the harmonics by inspecting the signal in matlab?

조회 수: 1 (최근 30일)
astronot
astronot 2014년 10월 11일
답변: Rick Rosson 2014년 10월 12일
such as this signal gf=cos(2*pi*10*t)+ 0.5*sin(2*pi*20*t)+4*cos(2*pi*30*t-pi/3)

답변 (1개)

Rick Rosson
Rick Rosson 2014년 10월 12일
dt = t(2) - t(1);
Fs = 1/dt;
pwelch(gf,[],[],[],Fs);

카테고리

Help CenterFile Exchange에서 Code Inspection에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by