, MATLAB . | K c(t)| 2.18e-4 2, (-t, +t) ( 1.11), s (t) .
N=256;
t=linspace(-tau/2,tau/2,N+1);
dt=t(2)-t(1);
s=cosinob1(t,Um,T,Uo);
s1=max(s)*ones(1,length(t));
C=conv(s,s1)*dt;
figure(1)
plot(t+tau/2,C(N:2*N))
Co=max(C)
1.11 - t > 0
1.12 . 0.05602 2/, 3025 . : fft, ( C).
1.12
N2=2^15; %
Wc=fft(C,N2);
df=1/(dt*N2);
sqrt(sum(abs(Wc).^2))
figure(2)
plot((1:256)*df,abs(Wc(1:256)))
figure(3) % 601
f=0:20:12000;
for i=1:length(f)
c=0;
for k=1:length(C)
c=c+C(k)*exp(-j*2*pi*f(i)*dt*k);
end
Wc1(i)=c;
end
AWc1=abs(Wc1);
plot(f,AWc1)