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

📄 modicon.m

📁 数字通信第四版原书的例程
💻 M
字号:
function [x1,y1, x2, y2] = modicon
%output the input/iutput for the modulation icons.

%       Copyright (c) 1996 by The MathWorks, Inc.
%       $Revision: 1.1 $  $Date: 1996/04/01 19:39:58 $

x1 = [0:.5:10];
y1 = sin(x1*pi/5);
x2 = [10:.075:20];
x1 = [x1 x2];
y1 = [y1 sin(x2*pi/5).*sin(x2*pi*2)];
y2 = [1 -1 -1 -1 -1.1 -.9 -1];
x2 = [10 10 0 20 18 18 20];
y2 = (y2 + 5) / 6 * 90;
y1 = (y1 + 5) / 6 * 90;
x1 = x1 * 5;
x2 = x2 * 5;
%plot(0, 0, x1, y1, x2, y2);

⌨️ 快捷键说明

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