Signals and systems Chapter 2 Linear Time-Inverariant Systems 2.1 Discrete-time LTI system: the convolution sum 离散的信号可以用叠合的不同幅的delta函数表示出来 The discret-time unit impulse response and the convolution sum representation o
> Chapter 2
Linear Time-Inverariant Systems
2.1 Discrete-time LTI system: the convolution sum
离散的信号可以用叠合的不同幅值的delta函数表示出来
The discret-time unit impulse response and the convolution sum representation of LTI systems
上面的例子很清楚的一步步的解析了卷积和的过程.
卷积和的部分可以去看看我写的这篇《Why should we use convolution?》
对于为什么是x[k]*h[n-k]
这里研究的是LTI系统,h[n]是LTI系统,对于不同时刻k输入x[k],系统的响应仅仅做偏移即可,
x[0]输入的对应h为h[0],x[1]对应的h为h[n-1]... x[k] 对应的就是h[n-k]
为了加深概念的理解,我们再看看时变系统卷积和的过程
输入是X[n],响应是h,注意时变系统的输入响应不同时刻不同,所以这里有三个不同的响应
我们把输入看作impluse 序列,这样,利用delta函数的性质,就很容易get到输出了哇~
要知道对系统输入的是一系列的impulse,于是应该把所有结果(x[-1]h[-1], ...,x[1]h[1])累加起来,得到输出y[n],
这就是为什么下面y[n]卷积和公式里面会有连加符号的原因!
而正是由于时变系统的特性,会导致一种有趣的现象,对于输入x[n]和响应h[n]
计算过程中直接把h[n]反转,然后偏移k个单位,直接于原来的输入信号做乘法,然后把各个单位的结果做累加,得到的就是此刻的输出y[n],最后系统的输出这里书上有一定的“误导性”,之所以打双引号是因为这里h[n]是一个无限长的step function,所以后面无穷逼近于1/(1-alpha).
在计算机中,不可能用无穷序列来模拟...输入序列就是有限的,那么输出就会是
(length of x[n]) + (length of h[n]) -1。
为什么会是减一?想想,如果输出到(length of x[n]) + (length of h[n])个点的时候,两者已经没有重叠区域,于是得到的结果是0.这里我们不考虑这个没有意义的点.于是输出就只有(length of x[n]) + (length of h[n]) -1个点
这里我做了个例子
%code writer : EOF %code date : 2014.10 .1 %e-mail : jasonleaster@gmail.com %code file : demo_for_convolution %code purpose: % A demo for convolution in LTI-system clear all close all % you could use this varible to define how many number of points in the input sequence. points = 10; % x is used as input points % h is used as responce sequnce. % %% input sequence one % x = exp(-[0: (points-1)]); % h = ones(1,points*10); %% Input sequence two alpha = 2; x = [1 1 1 1 1]; h = alpha.^([0:6]); length_x = size(x,2); length_h = size(h,2); figure(1); subplot(121); scatter(1:length_x,x,'r'); title('x[n]'); subplot(122); scatter(1:length_h,h,'g'); title('h[n]'); output = zeros(1,length_x+length_h -1); %% Kernel part of our convolution sum :- ) for current_point_n= 1:length_x + length_h tmp = current_point_n; while(tmp > 0) if current_point_n length_x && current_point_n length_x tmp = tmp -1; continue; else if (current_point_n - tmp + 1) <br> <br> <p><span><img src="/static/imghwm/default1.png" data-src="/inc/test.jsp?url=http%3A%2F%2Fimg.blog.csdn.net%2F20141001015131468&refer=http%3A%2F%2Fblog.csdn.net%2Fcinmyheart%2Farticle%2Fdetails%2F39695943" class="lazy" alt="<<Signals and systems>> Chapter" ><br> </span></p> <p><span><br> </span></p> <p><span>上面的输入随意调整都性,程序还是比较健壮的</span></p> <p><span><br> </span></p> <p><span><img src="/static/imghwm/default1.png" data-src="/inc/test.jsp?url=http%3A%2F%2Fimg.blog.csdn.net%2F20141001015326265&refer=http%3A%2F%2Fblog.csdn.net%2Fcinmyheart%2Farticle%2Fdetails%2F39695943" class="lazy" alt="<<Signals and systems>> Chapter" ><br> </span></p> <p><span><br> </span></p> <p><span><br> </span></p> <p><span><br> </span></p> <p><span><br> </span></p> <p><span>Properties of LTI systems</span></p> <p><span>交换律,结合律,分配律</span></p> <p><span><img src="/static/imghwm/default1.png" data-src="/inc/test.jsp?url=http%3A%2F%2Fimg.blog.csdn.net%2F20141001021021577&refer=http%3A%2F%2Fblog.csdn.net%2Fcinmyheart%2Farticle%2Fdetails%2F39695943" class="lazy" alt="<<Signals and systems>> Chapter" ><br> </span></p> <p><span><br> </span></p> <p><span>对于可逆性的说明demo:</span></p> <p><span><br> </span></p> <p><span><img src="/static/imghwm/default1.png" data-src="/inc/test.jsp?url=http%3A%2F%2Fimg.blog.csdn.net%2F20141001021621579&refer=http%3A%2F%2Fblog.csdn.net%2Fcinmyheart%2Farticle%2Fdetails%2F39695943" class="lazy" alt="<<Signals and systems>> Chapter" > </span></p> <p><span><br> </span></p> <p><span><br> </span></p> <p><span>对于因果性的探讨,</span></p> <p><span><br> </span></p> <p><span><img src="/static/imghwm/default1.png" data-src="/inc/test.jsp?url=http%3A%2F%2Fimg.blog.csdn.net%2F20141001021454312&refer=http%3A%2F%2Fblog.csdn.net%2Fcinmyheart%2Farticle%2Fdetails%2F39695943" class="lazy" alt="<<Signals and systems>> Chapter" ><br> </span></p> <p><br> </p> <p><br> </p> <p><br> </p> <p><br> </p> <p><span>稳定性的探究:</span></p> <p><span><img src="/static/imghwm/default1.png" data-src="/inc/test.jsp?url=http%3A%2F%2Fimg.blog.csdn.net%2F20141001021826364&refer=http%3A%2F%2Fblog.csdn.net%2Fcinmyheart%2Farticle%2Fdetails%2F39695943" class="lazy" alt="<<Signals and systems>> Chapter" ><br> </span></p> <p><span><br> </span></p> <p><span><br> </span></p> <p><span>最后,要认识到,微分方程和差分方程仅仅是分别对于连续和离散系统的输入输出关系的描述而已,他们相似于都是对系统输入输出的描述,不可混淆对比.之前我胡乱的做对比,以至于很苦恼</span></p> <p><span>这里记录了我思考的过程</span></p> <p>http://blog.csdn.net/cinmyheart/article/details/39499967<br> </p> <p><span><br> </span></p> <p><br> </p>

MySQL使用的是GPL許可證。 1)GPL許可證允許自由使用、修改和分發MySQL,但修改後的分發需遵循GPL。 2)商業許可證可避免公開修改,適合需要保密的商業應用。

選擇InnoDB而不是MyISAM的情況包括:1)需要事務支持,2)高並發環境,3)需要高數據一致性;反之,選擇MyISAM的情況包括:1)主要是讀操作,2)不需要事務支持。 InnoDB適合需要高數據一致性和事務處理的應用,如電商平台,而MyISAM適合讀密集型且無需事務的應用,如博客系統。

在MySQL中,外鍵的作用是建立表與表之間的關係,確保數據的一致性和完整性。外鍵通過引用完整性檢查和級聯操作維護數據的有效性,使用時需注意性能優化和避免常見錯誤。

MySQL中有四種主要的索引類型:B-Tree索引、哈希索引、全文索引和空間索引。 1.B-Tree索引適用於範圍查詢、排序和分組,適合在employees表的name列上創建。 2.哈希索引適用於等值查詢,適合在MEMORY存儲引擎的hash_table表的id列上創建。 3.全文索引用於文本搜索,適合在articles表的content列上創建。 4.空間索引用於地理空間查詢,適合在locations表的geom列上創建。

toCreateAnIndexinMysql,usethecReateIndexStatement.1)forasingLecolumn,使用“ createIndexIdx_lastNameEnemployees(lastName); 2)foracompositeIndex,使用“ createIndexIndexIndexIndexIndexDx_nameOmplayees(lastName,firstName,firstName);” 3)forauniqe instex,creationexexexexex,

MySQL和SQLite的主要區別在於設計理念和使用場景:1.MySQL適用於大型應用和企業級解決方案,支持高性能和高並發;2.SQLite適合移動應用和桌面軟件,輕量級且易於嵌入。

MySQL中的索引是數據庫表中一列或多列的有序結構,用於加速數據檢索。 1)索引通過減少掃描數據量提升查詢速度。 2)B-Tree索引利用平衡樹結構,適合範圍查詢和排序。 3)創建索引使用CREATEINDEX語句,如CREATEINDEXidx_customer_idONorders(customer_id)。 4)複合索引可優化多列查詢,如CREATEINDEXidx_customer_orderONorders(customer_id,order_date)。 5)使用EXPLAIN分析查詢計劃,避

在MySQL中使用事務可以確保數據一致性。 1)通過STARTTRANSACTION開始事務,執行SQL操作後用COMMIT提交或ROLLBACK回滾。 2)使用SAVEPOINT可以設置保存點,允許部分回滾。 3)性能優化建議包括縮短事務時間、避免大規模查詢和合理使用隔離級別。


熱AI工具

Undresser.AI Undress
人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover
用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool
免費脫衣圖片

Clothoff.io
AI脫衣器

Video Face Swap
使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

Dreamweaver Mac版
視覺化網頁開發工具

VSCode Windows 64位元 下載
微軟推出的免費、功能強大的一款IDE編輯器

SublimeText3 Mac版
神級程式碼編輯軟體(SublimeText3)

Safe Exam Browser
Safe Exam Browser是一個安全的瀏覽器環境,安全地進行線上考試。該軟體將任何電腦變成一個安全的工作站。它控制對任何實用工具的訪問,並防止學生使用未經授權的資源。

Dreamweaver CS6
視覺化網頁開發工具