Publisher review:specwelch - Spectrum using Welch's method USAGE:q = specwelch(x,dt,w,Nsg,pnv,Wn,ftype,n)[psdf,f] = specwelch(x,dt,w,Nsg,pnv,Wn,ftype,n)[psdf,conf,f] = specwelch(x,dt,w,Nsg,pnv,Wn,ftype,n)DESCRIPTION:Calculates the spectrum for xusing Welch's method.The confidence intervals are calculatedusing the inverse of chi-square CDF.Also includes a filtering option using the butterworth filter to see the effect of the filter on the spectrumINPUT VARIABLES:x - Time series, [vector]dt - Sampling Rate, [scalar]win - Window, one of: 'hanning', 'hamming', 'boxcar'Nsg - Number of Segments (>=1)pnv - Percentage Noverlap of Segments (0-100)Nb - Band Averaging, number of bands to averageWn - Cut-Off frequencies, used for filteringftype - Type of filter, 'high', 'low' or 'stop'n - Number of coefficients to use inthe Butterworth filterOUTPUT VARIABLES:q - structure with the following fields:xp - detrended xf = FrequenciesT - Periodsm - Magnitudea - Amplitudes - Power spectrum, Sxx(win), [Power]psdw - Power Spectral Density, Pxx(win), [Power/rad/sample]psdf - Power Spectral Density, Pxx(f), [Power/sample-freq]psdT - Power Spectral Density, Pxx(T), [Power*time-unit]conf - Upper and Lower Confidence Interval multiplication factors using chi-squared approach Requirements: ยท MATLAB Release: R14
specwelch is a Matlab script for Signal Processing scripts design by alex sanchez.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
specwelch - Spectrum using Welch's method
Operating system:Windows / Linux / Mac OS / BSD / Solaris