[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions regarding signal processing in octave
From: |
dmavares |
Subject: |
Re: Questions regarding signal processing in octave |
Date: |
Thu, 10 Nov 2016 05:00:30 -0800 (PST) |
Hi. To generate the time vector you need, you could use the command linspace.
Once you get the sampling time, via the Nyquist theorem,
Ts = 1/(2*BW);
where BW is your signal's bandwidth. Then use
t = linspace(0,Ts*(100-1),100);
Regarding your first question, what do you mean when you say you want to
compute the power spectral density and the power spectrum?. I don't see the
difference.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Questions-regarding-signal-processing-in-octave-tp4680548p4680553.html
Sent from the Octave - General mailing list archive at Nabble.com.