|
From: | Ahmed Husain ?Abbas Mohamed Sahrab |
Subject: | Quick Question About Signal Processing |
Date: | Fri, 11 Nov 2016 13:55:20 +0000 |
Dear Esteemed Volunteers.
I have a question about incorporating a piece of code into my project. I have found this piece of code online
Fs = 1000; t = 0:1/Fs:1-1/Fs; x = cos(2*pi*100*t)+randn(size(t)); [Pxx,F] = periodogram(x,[],length(x),Fs); plot(F,10*log10(Pxx))
[y, fs]= wavread('song1.wav');
NFFT=input("Choose a fraze size of either 128, 256 and 512. ");
[Pxx,F] = periodogram(y,[],NFFT,fs);
plot(F,10*log10(Pxx))
But I am sad to report this it is not working, and that I am receiving this error
If you can help me I would appreciate it immensely With Love, Ahmed Suhrab |
[Prev in Thread] | Current Thread | [Next in Thread] |