Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
astronot
astronot am 11 Okt. 2014
Beantwortet: Rick Rosson am 12 Okt. 2014
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)

Antworten (1)

Rick Rosson
Rick Rosson am 12 Okt. 2014
dt = t(2) - t(1);
Fs = 1/dt;
pwelch(gf,[],[],[],Fs);

Kategorien

Mehr zu Specialized Power Systems finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by