> I am not so familiar with Matlab. The examples I have looked at arevery easy to follow but the application has been so difficult .
>
> These data samples were taken after 3 sec, so I considerl the time interval, h between each sample as 3 sec.
> The spectral analysis of this is not giving clear frequency of the signal and I worry if the frequency vector I created is wrong.
>
> Can anyone look into this for me?
First, never start with measured data. Start with simulated
data where you know the exactl parameters (sampling frequency,
signal frequency, signal amplitude). Then do the analyis with
the simulated data and see if you can extract the parameetrs
from the analysis results.
Once you are happy that you understand what is going on (get the
frequency axis right, understand how the amplitude axis behaves)
then try with the measured data.
Lots of work, but this is the only way that gets you to a result.
The code you already have is a long way in the right direction,
there might be one or two details missing. Just repeat the analysis
with signals of known parameters and try and understand what is
going on.
Rune
ekong nathaniel - 31 Oct 2008 20:27 GMT
> > I am not so familiar with Matlab. The examples I have looked at arevery easy to follow but the application has been so difficult .
> >
[quoted text clipped - 21 lines]
>
> Rune
Thanks Rune. Though I have done what you have suggested, I will try again.