godsmack
Newbie level 1
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)
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)