⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 square-ask.m

📁 一些调幅信号的matlab仿真
💻 M
字号:
dt=0.001;N=5000;
t=0:dt:N*dt;
x=square(2*pi*t);
subplot(211),plot(t,x);grid on;
fc=3;
ht=cos(2*pi*fc*t);
x_ask=x.*ht;
subplot(212),plot(t,x_ask);
grid on;title('2ASK');
fc1=4;
ht1=cos(2*pi*fc1*t+pi/2);
figure(2);
x_ask1=x.*ht1;
subplot(211),plot(t,x);grid on;
subplot(212),plot(t,x_ask1);
grid on;
title('2PSK');f1=1;
y=abs((x+1)/2);
x_2fsk=cos(2*pi*fc*t+6*pi*y.*t);
figure(3)
subplot(211),plot(t,x);grid on;
subplot(212),plot(t,x_2fsk);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -