当前位置:网站首页>信号与系统学习零输入响应
信号与系统学习零输入响应
2022-07-26 22:37:00 【久久鸭要变大鹅子】
文章目录
课程来自西电郭爷爷
LTI系统的零状态响应的函数lsim 调用格式为
y = lsim(sys,f,t)
t 表示计算系统响应的抽样点向量;
f 是系统输入信号
sys 是LTI系统模型,用来表示微分方程
系统模型sys 要借助tf函数获得,调用格式: sys = tf(b,a)
b 是微分方程右端的系数;从高阶导 到 低阶导 ,逗号隔开
a 是微分方程左端的系数
% 练y"(t)+2y'(t)+77y(t) = f(t) t>=0时 接入激励f(t) = 10sin(2Πt) 求其零状态响应
a = [0 0 1];
b = [1 2 77];
sys = tf(a,b);%这里注意是等号右侧系数在前
t = 0:0.01:5;
f = 10.*sin(2*pi*t);
y1 = lsim(sys,f,t);
subplot(2, 1, 1);
plot(t,y1)
t = 0:0.01:5;
f = 10.*sin(2*pi*t);
y2 = lsim(sys,f,t);
sys = tf(b,a);
subplot(2, 1 ,2);
plot(t,y2)
xlabel('Time(sec)')
ylabel('y(t)')
我这里是想试一下微分方程等号两侧系数写反会怎样
用了subplot想对比一下,发现是一样的···
回头再研究一下
现在先睡觉吧ZZZ
········
来自第二天的思考
应该就是一样的吧?
毕竟等号两侧,相当于无所谓系数的问题??
(欢迎大佬翻牌子了留言)
(顺带再吐槽一下,matlab直接保存图片到桌面上,打死上传不上了···我给截图然后就很容易传上来了····)
边栏推荐
- Hcip day 2_ HCIA review comprehensive experiment
- Codeforces E. maximum subsequence value (greed + pigeon nest principle)
- Xshell连接服务器时报“Could not load host key”错误
- MVC three-tier architecture
- Topological sorting (learning notes) introduction + judge whether there is a ring
- The basic operation of data tables in MySQL is very difficult. This experiment will take you through it from the beginning
- Training team lpoj round10 e Jumping Frog
- 1、 Kubernetes basic concept + environment installation (build cross server public network environment)
- 数据库:MySQL基础+CRUD基本操作
- 生成yolov5.wts文件出错
猜你喜欢

Number that cannot be bought

MVC three-tier architecture

Mysql database complex operations: Database Constraints, query / connect table operations

CCPD data set processing (target detection and text recognition)

20220720 toss deeplobcut2

LeetCode——哈希表篇

Chapter 1 develop the first restful application

Pytorch learning record (II): tensor

Azure synapse analytics Performance Optimization Guide (3) -- optimize performance using materialized views (Part 2)

Tencent cloud lightweight application server purchase method steps!
随机推荐
Tree and binary tree (learning notes)
[step by step, even thousands of miles] key words in the specified time period of the statistical log
分页插件--PageHelper
Arthas quick start
Pytorch data pipeline standardized code template
Relationship between Unicode and UTF-8
Baidu website Collection
PTA 7-1 play with binary tree
PTA 7-4 small generation (DFS)
14_ Basic list
Dynamic SQL
LeetCode题目——数组篇
Azure Synapse Analytics 性能优化指南(3)——使用具体化视图优化性能(下)
Chapter 1 Introduction and use skills of interceptors
Training team lpoj round10 d come minion!
Search engine hijacking of black hat SEO
The attorney general and the director of the national security service of Ukraine were dismissed
NFT display guide: how to display your NFT collection
Apple TV HD with the first generation Siri remote is listed as obsolete
蒙着头配置deeplabcut2