Fs = 8192;
time = 0:1/Fs:2;
y = sin(2*pi*time*256);
nFFT = 8192

h = spectrum.welch;

msspectrum(h,y,'Fs',Fs,'nFFT',nFFT);




