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

📄 chap1_fig4_4.m

📁 无线通讯系统的matlab仿真程序;主要包括同步
💻 M
字号:
% Chapter 1, Figure 4.4
% Script m-file for plotting Figure 4.4

clc; close all; clear all;

subplot(2,1,1)
n=-1:6;
u=25*ones(1,8);
plot(n,u,'.')
ylabel('\itu\rm(\itn\rm)','FontSize',11)
title('Input of Inherently Discrete-time System','FontSize',11)
subplot(2,1,2)
y(1)=1;
u=25;

for n=1:7
    y(n+1)=0.5*(y(n)+u/y(n));
end
n=-1:6;
plot(n,y,'.')
hold on
plot(n,y,'k:')
xlabel('\itn','FontSize',11)
ylabel('\ity\rm(\itn\rm)','FontSize',11)
title('Output of Inherently Discrete-time System','FontSize',11)

⌨️ 快捷键说明

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