Path: news.mathworks.com!not-for-mail
From: "Vincenzo Manzoni" <ervincio@tiscali.it>
Newsgroups: comp.soft-sys.matlab
Subject: Re: PSD and sptool
Date: Sun, 5 Aug 2007 12:32:50 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <f94g1i$lq2$1@fred.mathworks.com>
References: <f91vj2$2td$1@fred.mathworks.com> <1186310428.982559.177670@q75g2000hsh.googlegroups.com>
Reply-To: "Vincenzo Manzoni" <ervincio@tiscali.it>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186317170 22338 172.30.248.35 (5 Aug 2007 12:32:50 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 5 Aug 2007 12:32:50 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1073600
Xref: news.mathworks.com comp.soft-sys.matlab:422510



Uhm Greg, another question: if I calculate the power of this
signal

Fs = 1024;  % Sample frequency: 1 kHz
t=0:1/Fs:10;
x = sin(2*pi*10*t); % Sin with frequency = 10 Hz

with fft following the article which I was cited the post
before, I obtain an armonic at 10 Hz with power 0.5... that
is theoretically corret.

If I calculate the power of signal with sptool, I obtain an
armonic at 10 Hz with power 1.5625... which change if I
change NFFT.

I am extremely confused...