dragon_boat
Junior Member level 1
with my minds in a haze .
model in matlab:
fs = 1000;
A = 3;
B =1;
f1 = 200;
fd = 30;
noise = 30;
t = 0:1/fs:5;
data_len = length(t);
u = A*cos(2*pi*f1*t) +B*cos(2*pi*(f1+fd)*t)+noise*rand(1,data_len);
model in matlab:
fs = 1000;
A = 3;
B =1;
f1 = 200;
fd = 30;
noise = 30;
t = 0:1/fs:5;
data_len = length(t);
u = A*cos(2*pi*f1*t) +B*cos(2*pi*(f1+fd)*t)+noise*rand(1,data_len);