If time domian data is not gaussian Can we use pwelch function?
Show older comments
Dear al, I am analyzing a time domain signal. When i checked the statistical properties, i found that the data is not following Gaussian trend. Also the kurtosis coefficient (4th moment about mean) is ~ -2.5 and probability density function is skewed.
Can i use pwelch function to analyze the signal or some other method is to be used??
Thanks in advance
Vinod
Accepted Answer
More Answers (2)
Vinod
on 2 Oct 2012
0 votes
Wayne King
on 2 Oct 2012
Edited: Wayne King
on 2 Oct 2012
Hi Vinod, If the mean of your signal looks fairly constant over time and the variance does as well, then you can assume that your signal is stationary, or at least approximately so. If your signal has a certain kind of trend, e.g. linear, then you can always remove that trend prior to doing the Welch (or any) spectral analysis.
If the signal is nonstationary, then one alternative is to use the short-time Fourier transform (spectrogram.m in MATLAB). The short-time Fourier transform is applicable where the signal can be regarded as "piece-wise" stationary.
For example, this is a stationary signal:
t = 0:0.001:1;
x = cos(2*pi*100*t)+randn(size(t));
plot(t,x)
But this is not because the mean changes over time:
strline = @(t,m,b) m*t+b;
y = x+strline(t,3,0);
plot(t,y)
In this case, you can fit a least-squares line to the data and remove that to create a stationary time series.
The following example is nonstationary due to a change in the variance.
t = 0:0.001:1-0.001;
x = cos(2*pi*100*t);
x(1:500) = x(1:500)+0.2*randn(1,500);
x(501:end) = x(501:end)+randn(1,500);
plot(t,x)
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!