what are the output pwelch units

조회 수: 7 (최근 30일)
Armindo
Armindo 2016년 3월 4일
답변: Star Strider 2016년 3월 4일
Iam using pwelch as:
dat = data; % in uv
win = 1024;
wlen= hamming(win);
nfft = win;
SpectType = 'psd';
Noverlap = [];
Fs = 1000;
[Pxx,f] = pwelch(dat,wlen,Noverlap,nfft,Fs,SpectrumType);
plot(f,Pxx,'r','LineWidth',1);
xlabel('Frequency (Hz)')
ylabel('PSD (uV ^{2} / Hz)');
My question is considering that the units of dat are in uV the Y-axis of pwelch output will be in uV^2/Hz right? In other words the ylabel is correct right?

채택된 답변

Star Strider
Star Strider 2016년 3월 4일
As I read the documentation on pwelch, your ylabel is correct. The pwelch function would output the power at each frequency, and power is essentially amplitude squared.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by