You are on page 1of 1

raw=xlsread('FFTBICEPPRE1.

xlsx')
Fs=1000
nfft=2^(nextpow2(length(raw)))
fftl=fft(raw,nfft)
fft_HalfLe
Cumulative_Power= cumsum(power)
Half_cumulative_power= sum(power)/2
[MINvalue index] =min(abs(Cumulative_Power - Half_cumulative_power))
medfreq=frqscale(index)
vdsvdsvdvdsvs\vWRrsf cx

You might also like