Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Time period to Instantaneous frequency

Status
Not open for further replies.

ToShare

Newbie level 1
Joined
Dec 23, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
I have simple smooth time signal with different time periods. I would like to transfer period over the time to frequency, and to present frequency changing over the time, I would call it Instantaneous frequency?

Here is Matlab Code, is it right?

x = data;
z = hilbert(x);
N = length(z);
fs= sampling frequency ;
f = angle(z(2:N).*conj(z(1:N-1)))/2/pi*fs;
t = [1:length(f)]/fs;
plot(t,f);
xlabel('Sec');
ylabel('Hz');
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top