Linear Time-invariant systems, Convolution, and Cross-correlation

Similar documents
Notes 04 largely plagiarized by %khc

Signals and Systems Linear Time-Invariant (LTI) Systems

EECE 301 Signals & Systems Prof. Mark Fowler

Continuous Time. Time-Domain System Analysis. Impulse Response. Impulse Response. Impulse Response. Impulse Response. ( t) + b 0.

Laplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff

Continuous Time Linear Time Invariant (LTI) Systems. Dr. Ali Hussein Muqaibel. Introduction

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux

EECE 301 Signals & Systems Prof. Mark Fowler

e 2t u(t) e 2t u(t) =?

SOLUTIONS TO ECE 3084

EECE 301 Signals & Systems Prof. Mark Fowler

ADDITIONAL PROBLEMS (a) Find the Fourier transform of the half-cosine pulse shown in Fig. 2.40(a). Additional Problems 91

KINEMATICS IN ONE DIMENSION

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 1 Solutions

h[n] is the impulse response of the discrete-time system:

( ) ( ) if t = t. It must satisfy the identity. So, bulkiness of the unit impulse (hyper)function is equal to 1. The defining characteristic is

R =, C = 1, and f ( t ) = 1 for 1 second from t = 0 to t = 1. The initial charge on the capacitor is q (0) = 0. We have already solved this problem.

Q1) [20 points] answer for the following questions (ON THIS SHEET):

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

The average rate of change between two points on a function is d t

13.3 Term structure models

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 17

Chapter 7: Solving Trig Equations

Chapter 1 Fundamental Concepts

Chapter 2. First Order Scalar Equations

System Processes input signal (excitation) and produces output signal (response)

6.302 Feedback Systems Recitation 4: Complex Variables and the s-plane Prof. Joel L. Dawson

EECE 301 Signals & Systems Prof. Mark Fowler

5.1 - Logarithms and Their Properties

4.1 - Logarithms and Their Properties

LAPLACE TRANSFORM AND TRANSFER FUNCTION

6.003 Homework #9 Solutions

Linear Circuit Elements

Representing a Signal. Continuous-Time Fourier Methods. Linearity and Superposition. Real and Complex Sinusoids. Jean Baptiste Joseph Fourier

From Particles to Rigid Bodies

The field of mathematics has made tremendous impact on the study of

The Laplace Transform

Solutions - Midterm Exam

Physics 127b: Statistical Mechanics. Fokker-Planck Equation. Time Evolution

CHAPTER 12 DIRECT CURRENT CIRCUITS

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Echocardiography Project and Finite Fourier Series

CE 395 Special Topics in Machine Learning

6.003 Homework #9 Solutions

3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

d 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3

6.003: Signals and Systems. Relations among Fourier Representations

6.003: Signals and Systems

Laplace Transforms. Examples. Is this equation differential? y 2 2y + 1 = 0, y 2 2y + 1 = 0, (y ) 2 2y + 1 = cos x,

10. State Space Methods

From Complex Fourier Series to Fourier Transforms

The complex Fourier series has an important limiting form when the period approaches infinity, i.e., T 0. 0 since it is proportional to 1/L, but

9/9/99 (T.F. Weiss) Signals and systems This subject deals with mathematical methods used to describe signals and to analyze and synthesize systems.

Linear Response Theory: The connection between QFT and experiments

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

4/9/2012. Signals and Systems KX5BQY EE235. Today s menu. System properties

A First Course on Kinetics and Reaction Engineering. Class 19 on Unit 18

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:

Two Coupled Oscillators / Normal Modes

Chapter 8 The Complete Response of RL and RC Circuits

Welcome Back to Physics 215!

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Predator - Prey Model Trajectories and the nonlinear conservation law

Lecture 2: Optics / C2: Quantum Information and Laser Science

Homework 4 SOLUTION EE235, Summer 2012

Explaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015

HW6: MRI Imaging Pulse Sequences (7 Problems for 100 pts)

= ( ) ) or a system of differential equations with continuous parametrization (T = R

EECS20n, Solution to Midterm 2, 11/17/00

Vehicle Arrival Models : Headway

Inventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions

Math 334 Fall 2011 Homework 11 Solutions

KEY. Math 334 Midterm I Fall 2008 sections 001 and 003 Instructor: Scott Glasgow

Final Spring 2007

RC, RL and RLC circuits

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

Nature Neuroscience: doi: /nn Supplementary Figure 1. Spike-count autocorrelations in time.

Reading from Young & Freedman: For this topic, read sections 25.4 & 25.5, the introduction to chapter 26 and sections 26.1 to 26.2 & 26.4.

04. Kinetics of a second order reaction

INDEX. Transient analysis 1 Initial Conditions 1

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

7 The Itô/Stratonovich dilemma

EE 313 Linear Signals & Systems (Fall 2018) Solution Set for Homework #8 on Continuous-Time Signals & Systems

Chapter One Fourier Series and Fourier Transform

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence

Effects of Coordinate Curvature on Integration

Let us start with a two dimensional case. We consider a vector ( x,

Financial Econometrics Jeffrey R. Russell Midterm Winter 2009 SOLUTIONS

Learning Objectives: Practice designing and simulating digital circuits including flip flops Experience state machine design procedure

The Contradiction within Equations of Motion with Constant Acceleration

Some Basic Information about M-S-D Systems

Basic Circuit Elements Professor J R Lucas November 2001

A Special Hour with Relativity

Integration Over Manifolds with Variable Coordinate Density

5. Response of Linear Time-Invariant Systems to Random Inputs

4 Sequences of measurable functions

The Brock-Mirman Stochastic Growth Model

Transcription:

Linear Time-invarian sysems, Convoluion, and Cross-correlaion (1) Linear Time-invarian (LTI) sysem A sysem akes in an inpu funcion and reurns an oupu funcion. x() T y() Inpu Sysem Oupu y() = T[x()] An LTI sysem is a special ype of sysem. As he name suggess, i mus be boh linear and ime-invarian, as defined below. LINEAR Scaling: T[ax ()]=at[x ()] Superposiion: T[x 1 ()+x 2 ()]=T[x 1 ()]+T[x 2 ()] TIME INVARIANT If y()=t[x()], hen y(-s) =T[x(-s)] Many sysems in neuroscience can be approximaed as LTI: Inpu LTI sysem Oupu Pre-synapic acion poenials Visual simulus Simulus conras Injeced Curren Synapse Reinal ganglion cell Passive neural membrane Reinal image Firing rae Membrane poenial The reason LTI sysems are incredibly useful is because of a key fac: if you know he response of he sysem o an impulse, han you can calculae he response of he sysem o ANY inpu. This gives you an enormous amoun of predicive power. Bu wha do I mean by an impulse? As ploed in he figure below, he impulse funcion is jus a funcion ha is zero a all imes excep for a =0 (lef panel below). You can hink of i as he force on an objec creaed by a hammer hiing i he force is 0 excep for a he momen of impac. The impulse response is he response of he sysem o he impulse. You can hink of his as he response of your leg o your knee geing hi wih a hammer a he docor s office. The righ panel below is an example of wha he impulse response of a sysem migh look like. Eye Pos-synapic conducance

The Impulse funcion: 1, δ ( ) = 0, δ() = 0 0 The Impulse response: T h() (2) Convoluion How do we predic he response of our sysem o an arbirary inpu once we know he impulse response? The secre is convoluion. I allows us o predic he response of our knee o some arbirary inpu funcion (once we know he response o he hammer), or he response of a building o an earhquake (once we know how i responds o he impac of an impulse). Convoluion is a mahemaical operaion which akes wo funcions and produces a hird funcion ha represens he amoun of overlap beween one of he funcions and a reversed and ranslaed version of he oher funcion. Here is he mahemaical definiion of convolving wo funcions, x() and h(), o creae an oupu y(): ( ) y = x( τ ) h( τ ) τ = This is ofen wrien in shorhand as y=x*h, where he * represens he convoluion operaion. You can hink of in he equaion above as a variable ha represens ime. Bu wha is τ? I s called a dummy variable. As you can see, i doesn exis on he lef hand side of he equaion i s jus used o index over ime for he inegraion on he righ hand side. Hopefully, he example below of convolving sample funcions x() and h() will make his clear 1. Here are our funcions x() and h(). 1 Example borrowed from hp://www.ee.washingon.edu/class/235dl/ee235/projec/lesson6/lesson6_1.hml

The firs sep is o reverse one of he funcions. We choose o reverse h(), which we now plo on he dummy ime axis τ. We plo x(τ) on he same axis, and begin he process of shifing h(-τ) by, and comparing i o x(τ). Since hese are coninuous (no discree) funcions, we ake an inegral (no he sum) when calculaing he convoluion. In he figure below, h is shifed by =-2. For his value of shif, here is no overlap beween x(τ) and h(-τ), so y()=0 (which is why i doesn show up in he plo below). As we coninue o shif h(-τ) by changing, here ges o be overlap beween he wo funcions, as ploed below (he convoluion, y(), is depiced in pink). The overlap is quanified by muliplying he wo inpu funcions on a poin by poin basis, and hen inegraing he resuling funcion.

Once reaches 5, here is no longer overlap beween he wo funcions, and y()=0 once again. Convoluion is an incredibly useful operaion because i can be used o predic he oupu of an LTI sysem o any inpu. Jus hink of x() as he arbirary inpu funcion (e.g. a visual simulus) and h() as he response of he sysem o an impulse (e.g. he firing rae of he reinal ganglion cell o a flash of ligh). Then he convoluion of x() and h() is he prediced oupu of he sysem (e.g. he firing rae in response o he arbirary visual simulus). Because of his grea prediciive power, LTI sysems are used all he ime in neuroscience. A useful hing o know abou convoluion is he Convoluion Theorem, which saes ha convolving wo funcions in he ime domain is he same as muliplying hem in he frequency domain: If y()=x()*h(), (remember, * means convoluion) hen Y(f)=X(f)H(f) (where Y is he fourier ransform of y, X is he fourier ransform of x, ec) Since muliplying is a simpler operaion ha convolving, i is ofen easier o work in he frequency domain. (3) Cross-correlaion Cross-correlaion is a mahemaical operaion ha is used o quanify he similariy of wo funcions for differen ime delays. For example, i can be used o compare firing rae beween wo neurons o see a wha relaive ime delay he firing is mos similar. Despie having a differen purpose han convoluion, he mahemaical operaion of cross-correlaion is very similar o ha of convoluion. Mahemaically, he main difference is ha when wo funcions are cross-correlaed, neiher funcion is imereversed before being shifed and compared. Cross-correlaion f _ g = f ( τ ) g( + τ ) dτ Convoluion f g = f ( τ ) g( τ ) dτ

As a simple example, le s consider he cross-correlaion of wo neurons wih he following spiking paern (1 represens a spike during he imebin; 0 represens no spike). ime Neuron 1 spike rain: 0 0 1 0 1 0 0 0 1 1 0 0 0 1 1 Neuron 2 spike rain: 0 0 0 1 0 1 0 0 0 1 1 0 0 0 1 To calculae he cross-correlaion, we need o compare he spike rains for differen relaive ime delay (i.e. differen relaive shifs of he wo spike rains). Firs, le s consider a ime delay of 0. When we muliply he wo spike rains on a poin by poin basis, we ge he following: 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 The nex sep of calculaing he cross correlaion is o sum across all hese values. This gives us a cross-correlaion of 2 (for a ime delay of 0). We repea he same calculaion for differen delays. As you can see from he plo below, he cross correlaion peaks for ime delay of -1. Crosscorr -2-1 0 1 2 3 Time delay The inerpreaion of his cross-correlaion is ha he wo spike rains are in he greaes agreemen when spike rain 2 is shifed backwards in ime by one ime poin. In oher words, neuron 2 ends o spike afer neuron 1. A biological scenario ha could lead o his cross-correlaion profile is ha neuron 2 is possynapic o neuron 1.