필터 지우기
필터 지우기

I want to plot PSD for my input data(meters)

조회 수: 3 (최근 30일)
suresh
suresh 2012년 5월 29일
I want to plot PSD for my input data (meters) if the input in volts the the PSD in dB/Hz what if the input in meters then what are the units of PSD please some body help me Ts=30; Fs =1/Ts; y=MP1; %input data(meters) h = spectrum.welch; Hpsd=psd(h,y,'Fs',Fs); what are units of y axis after the plot

채택된 답변

Dr. Seis
Dr. Seis 2012년 5월 29일
If you are measuring displacement in meters in the time domain, then your frequency domain amplitudes (after performing the FFT) should be in units of meters / Hz. Squaring those amplitudes should give you meters-squared / Hertz-squared. However... since Matlab generates their power spectra by normalizing their FFT result by the number of samples (N) instead of the sampling frequency (Fs), their output might have PSD units associated with meters-squared / samples-squared (which is completely meaningless to me).
  댓글 수: 2
suresh
suresh 2012년 5월 29일
sir, In h=spectrum.welch ...how many samples it will take to calculate the PSD.... my input data has 650 samples..
Dr. Seis
Dr. Seis 2012년 5월 29일
It will take all of them... or you can re-parameterize your "h = spectrum.welch" to operate on a sub-set (or window) of your data with pre-defined overlap amounts. If you want the PSD of the full data, then you might have to do Hpsd = psd(h,y,'NFFT',650,'Fs',Fs) since in my test (running without 'NFFT',650) it performs a 256-point FFT. Check out the documentation for more specific examples of setting up/paramertizing these functions.

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

추가 답변 (1개)

Wayne King
Wayne King 2012년 5월 29일
Is your sampling interval in meters, or are you really saying that your measured variable is in meters?
I'm assuming you just mean that your data is sampled spatially. What is actually being measured?
  댓글 수: 1
suresh
suresh 2012년 5월 29일
sir, its a white noise (m) which is a input signal...i want to find PSD of input to known the Maximum power in the input signal
the thing is if input is in volt the units of PSD is dB/Hz what if the input signal unit are in meters then PSD units will change or not....

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

카테고리

Help CenterFile Exchange에서 Parametric Spectral Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by