zhbin.815 发表于 2008-6-3 22:11

新手求助instfreq.m

小弟想求x(t)=cos(pi*t^2/4),t属于的瞬时频率,可是得出的图形是不是想要的图形啊!请各位大哥大姐不吝指教!谢谢!
代码:>> t=0:0.01:10;
>> x=cos(pi*t.^2/4);
>> =instfreq(x');
>> t=t/100;
>> plot(t,y);

zhlong 发表于 2008-6-3 23:45

=instfreq(hilbert(x'));

zhbin.815 发表于 2008-6-4 22:10

谢谢zhlong大哥!小弟在此谢过!
页: [1]
查看完整版本: 新手求助instfreq.m