How do ı calculate the harmonics by inspecting the signal in matlab?
古いコメントを表示
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
2014 年 10 月 12 日
dt = t(2) - t(1);
Fs = 1/dt;
pwelch(gf,[],[],[],Fs);
カテゴリ
ヘルプ センター および File Exchange で Analyze Simulation Results についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!