[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-users] a simple case of testing instfreq
From: |
cosmoslu |
Subject: |
[Savannah-users] a simple case of testing instfreq |
Date: |
Mon, 21 Apr 2008 18:27:03 -0500 |
Hi,
Sorry to bother you.
I got instfreq.m from tftb-0.2 package and I'm using hhspectrum.m to compute
the instantaneous frequency after Hilbert transform. I used a very simple case
here to test the program, but I don't why Matlab just shows error: ('T can not
be equal to 1 neither to the last element of X') Would you please help me?
Thank you.
Here's my simple code:
clear all
h=0.0001;
t=0:h:2;
x=10*sin(2*2*pi*t);
[A,f,tt] = hhspectrum(x,t);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-users] a simple case of testing instfreq,
cosmoslu <=