, . , , . 3.10, 3.11.
3.10 - -
Uo = 1; Um = 2; T = 1e-3;
Un = 1; Fn = 4e4;
Mf=500;
t=(0:1e-3:0.3)*1e-3;
Umod=cosinobn1(t,Um,T,Uo);
Psi=2*pi*Fn*t+Mf*1e-3*cumsum(Umod)';
Uf=Un*cos(Psi);
figure(1)
plot(t,Uf,t,Umod)
3.11 - -
, . 1024 ( 3.12).
K=1024; t=linspace(0,4*T,K);
df=1/(4*T);
Umod=cosinobn1(t,Um,T,Uo);
Psi=2*pi*Fn*t+Mf*cumsum(Umod)';
Ufh=Un*cos(Psi);
Sfh=fft(Ufh)/K;
figure(2)
plot(df*(1:512),abs(Sfh(1:512)))
3.12 -
. . 0.95 104 , 0.05 23.3 . 5% 95% , , .