frequency change detection by adaptive filter

Status
Not open for further replies.

godsmack

Newbie level 1
Joined
Sep 15, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
hi guys .
I want to detect frequency change detection by adaptive filter . but i don't know how can i do it .
for example i made a signal in MATLAB and i want to detect frequency changing time by adaptive filter .
Can i do this by adaptive filter ?
i'm waiting for your help
this is my signal code

%%%%%%%%%%%%%%%%%%%%
clear
close all
fs1 = 5; %Hz
fs2 = 15; %Hz
t1 = 0:0.01:2;
t2 = 2:0.01:4;
s1 = sin (2*pi*fs1*t1);
s2 = sin (2*pi*fs2*t2);
t = [t1 t2];
s = [s1 s2];
plot(t,s)
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…