%matlab code
clear
close all
clear all
t=1:0.1:1e6;
x=sin(1e-1*t);%信号频率
y=sin(1e-5*t);%载波频率
z=x.*y;%发射机上变频
z2=x.*y.*x;%接收机下变频
subplot(4,1,1)
plot(x)
subplot(4,1,2)
plot(y)
subplot(4,1,3)
plot(z)
subplot(4,1,4)
plot(z2)
将上述代码复制到matlab中,选中代码,摁ctrl+f9,即出现下图图一: