search
HomeDatabaseMysql Tutorial<<Signals and systems>> Chapter

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函数表示出来

<<Signals and systems>> Chapter




The discret-time unit impulse response and the convolution sum representation of LTI systems


<<Signals and systems>> Chapter



<<Signals and systems>> Chapter<<Signals and systems>> Chapter


上面的例子很清楚的一步步的解析了卷积和的过程.


卷积和的部分可以去看看我写的这篇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,注意时变系统的输入响应不同时刻不同,所以这里有三个不同的响应

<<Signals and systems>> Chapter


我们把输入看作impluse 序列,这样,利用delta函数的性质,就很容易get到输出了哇~


<<Signals and systems>> Chapter


要知道对系统输入的是一系列的impulse,于是应该把所有结果(x[-1]h[-1], ...,x[1]h[1])累加起来,得到输出y[n],

这就是为什么下面y[n]卷积和公式里面会有连加符号的原因!


<<Signals and systems>> Chapter


而正是由于时变系统的特性,会导致一种有趣的现象,对于输入x[n]和响应h[n]

<<Signals and systems>> Chapter

<<Signals and systems>> Chapter

计算过程中直接把h[n]反转,然后偏移k个单位,直接于原来的输入信号做乘法,然后把各个单位的结果做累加,得到的就是此刻的输出y[n],最后系统的输出这里书上有一定的“误导性”,之所以打双引号是因为这里h[n]是一个无限长的step function,所以后面无穷逼近于1/(1-alpha). 

<<Signals and systems>> Chapter

在计算机中,不可能用无穷序列来模拟...输入序列就是有限的,那么输出就会是

(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="&lt;&lt;Signals and systems&gt;&gt; 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="&lt;&lt;Signals and systems&gt;&gt; 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="&lt;&lt;Signals and systems&gt;&gt; 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="&lt;&lt;Signals and systems&gt;&gt; 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="&lt;&lt;Signals and systems&gt;&gt; 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="&lt;&lt;Signals and systems&gt;&gt; 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>


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How does MySQL differ from SQLite?How does MySQL differ from SQLite?Apr 24, 2025 am 12:12 AM

The main difference between MySQL and SQLite is the design concept and usage scenarios: 1. MySQL is suitable for large applications and enterprise-level solutions, supporting high performance and high concurrency; 2. SQLite is suitable for mobile applications and desktop software, lightweight and easy to embed.

What are indexes in MySQL, and how do they improve performance?What are indexes in MySQL, and how do they improve performance?Apr 24, 2025 am 12:09 AM

Indexes in MySQL are an ordered structure of one or more columns in a database table, used to speed up data retrieval. 1) Indexes improve query speed by reducing the amount of scanned data. 2) B-Tree index uses a balanced tree structure, which is suitable for range query and sorting. 3) Use CREATEINDEX statements to create indexes, such as CREATEINDEXidx_customer_idONorders(customer_id). 4) Composite indexes can optimize multi-column queries, such as CREATEINDEXidx_customer_orderONorders(customer_id,order_date). 5) Use EXPLAIN to analyze query plans and avoid

Explain how to use transactions in MySQL to ensure data consistency.Explain how to use transactions in MySQL to ensure data consistency.Apr 24, 2025 am 12:09 AM

Using transactions in MySQL ensures data consistency. 1) Start the transaction through STARTTRANSACTION, and then execute SQL operations and submit it with COMMIT or ROLLBACK. 2) Use SAVEPOINT to set a save point to allow partial rollback. 3) Performance optimization suggestions include shortening transaction time, avoiding large-scale queries and using isolation levels reasonably.

In what scenarios might you choose PostgreSQL over MySQL?In what scenarios might you choose PostgreSQL over MySQL?Apr 24, 2025 am 12:07 AM

Scenarios where PostgreSQL is chosen instead of MySQL include: 1) complex queries and advanced SQL functions, 2) strict data integrity and ACID compliance, 3) advanced spatial functions are required, and 4) high performance is required when processing large data sets. PostgreSQL performs well in these aspects and is suitable for projects that require complex data processing and high data integrity.

How can you secure a MySQL database?How can you secure a MySQL database?Apr 24, 2025 am 12:04 AM

The security of MySQL database can be achieved through the following measures: 1. User permission management: Strictly control access rights through CREATEUSER and GRANT commands. 2. Encrypted transmission: Configure SSL/TLS to ensure data transmission security. 3. Database backup and recovery: Use mysqldump or mysqlpump to regularly backup data. 4. Advanced security policy: Use a firewall to restrict access and enable audit logging operations. 5. Performance optimization and best practices: Take into account both safety and performance through indexing and query optimization and regular maintenance.

What are some tools you can use to monitor MySQL performance?What are some tools you can use to monitor MySQL performance?Apr 23, 2025 am 12:21 AM

How to effectively monitor MySQL performance? Use tools such as mysqladmin, SHOWGLOBALSTATUS, PerconaMonitoring and Management (PMM), and MySQL EnterpriseMonitor. 1. Use mysqladmin to view the number of connections. 2. Use SHOWGLOBALSTATUS to view the query number. 3.PMM provides detailed performance data and graphical interface. 4.MySQLEnterpriseMonitor provides rich monitoring functions and alarm mechanisms.

How does MySQL differ from SQL Server?How does MySQL differ from SQL Server?Apr 23, 2025 am 12:20 AM

The difference between MySQL and SQLServer is: 1) MySQL is open source and suitable for web and embedded systems, 2) SQLServer is a commercial product of Microsoft and is suitable for enterprise-level applications. There are significant differences between the two in storage engine, performance optimization and application scenarios. When choosing, you need to consider project size and future scalability.

In what scenarios might you choose SQL Server over MySQL?In what scenarios might you choose SQL Server over MySQL?Apr 23, 2025 am 12:20 AM

In enterprise-level application scenarios that require high availability, advanced security and good integration, SQLServer should be chosen instead of MySQL. 1) SQLServer provides enterprise-level features such as high availability and advanced security. 2) It is closely integrated with Microsoft ecosystems such as VisualStudio and PowerBI. 3) SQLServer performs excellent in performance optimization and supports memory-optimized tables and column storage indexes.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function