clc; clear all; % a1=1.2; a2=1.0; w2=40; % % t=0:0.01:15; x=a1*sin(w2*t); % % w1=1.25:0.25:2.0; % w1=w1*16; % for k=1:4, % y=a2*cos(w1(k)*t); % % s=['w1/w2=',s num2str(w1(k))]; % % subplot(2,2,k); plot(x,y); title(s); % end; a1=1.0; % ????????? ????????????? a2=1.0; % ????????? w1=3.0; % ??????? ????????????? w2=6.0; % ????????? t0=0; % ????????? ?????? ??????? tm=60; % ???????? ?????? ??????? N=600; % ????? ????? ??????/??????? T=tm-t0; % ????? ?????? ?????? dt=T/N; % ??? ?? ??????? t=t0:dt:tm; % ?????? ??????? y=a1*cos(w1*t)+a2*cos(w2*t); % ??????? ?????? plot(t,y);