How to plot the Instantaneous frequency of this function?

I tried the matlab code from its website but got the strange Instantaneous Frequency graph?
f=30; T=-0.4:0.00001:0.4; R=(1-0.5*f.^2*T.^2).*exp(-0.25*f.^2*T.^2);

3 Comments

Can you post the link? What exact command did you use to plot? Did you try "plot(T,R)" ?
My function f=30; T=-0.4:0.00001:0.4; R=(1-0.5*f.^2*T.^2).*exp(-0.25*f.^2*T.^2); Copied Instantaneous formula for my case from the below link but got the strange figure. I attached the similar picture. https://kr.mathworks.com/help/signal/ug/hilbert-transform-and-instantaneous-frequency.html
How to calculate the instantaneous frequency of Ricker Wavelet

Sign in to comment.

Answers (1)

use frequency and sample with in wave file playing

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

No tags entered yet.

Answered:

on 9 Aug 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!