1 ECE310 – Lecture 20 Relationship between Signals - Correlation 04/11/01.

Slides:



Advertisements
Similar presentations
DCSP-12 Jianfeng Feng
Advertisements

DCSP-13 Jianfeng Feng
Math Review with Matlab:
Fourier Series & Transforms
Leo Lam © Signals and Systems EE235. Courtesy of Phillip Leo Lam ©
MATLAB BASICS ECEN 605 Linear Control Systems Instructor: S.P. Bhattacharyya.
Department of Kinesiology and Applied Physiology Spectrum Estimation W. Rose
Guerino Mazzola (Fall 2014 © ): Introduction to Music Technology IIIDigital Audio III.3 (Fr Oct 10) Complex Fourier representation (preliminaries to FFT)
Chapter 2 Discrete-time signals and systems
Plotting Selim Aksoy Bilkent University Department of Computer Engineering
Lecture (4) Plotting & Programming (1) Eng. Osama Talaat 1.
Welcome to MATLAB DigComm LAB
Matlab Graphics S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: 2D Graphics.
Da-Chuan Cheng, PhD12015/4/13Da-Chuan Cheng, PhD1 Chapter 3: Fourier Series Introduction –In 1808, Fourier wrote the first version of his celebrated memoir.
Leo Lam © Signals and Systems EE235 Leo Lam.
Lecture 7: Basis Functions & Fourier Series
Lab5 (Signal & System) Instructor: Anan Osothsilp Date: 20 Feb 07 Due Date 09 March 07.
1.3 ARRAYS, FILES, AND PLOTS + FOURIER SERIES BY MR. Q.
Lecture 15 Orthogonal Functions Fourier Series. LGA mean daily temperature time series is there a global warming signal?
Fourier Series 主講者:虞台文.
Math Review with Matlab:
ELEC 303 – Random Signals Lecture 20 – Random processes
Graphs of Sine and Cosine Five Point Method. 2 Plan for the Day Review Homework –4.5 P odd, all The effects of “b” and “c” together in.
Signals and Signal Space
Environmental Data Analysis with MatLab
Review of Frequency Domain
Environmental Data Analysis with MatLab Lecture 17: Covariance and Autocorrelation.
Lecture 8: Fourier Series and Fourier Transform
ECE Spring 2010 Introduction to ECE 802 Selin Aviyente Associate Professor.
Signals, Fourier Series
Deconstructing periodic driving voltages (or any functions) into their sinusoidal components: It's easy to build a periodic functions by choosing coefficients.
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Chapter 15 Fourier Series and Fourier Transform
Review of Probability.
Chapter 25 Nonsinusoidal Waveforms. 2 Waveforms Used in electronics except for sinusoidal Any periodic waveform may be expressed as –Sum of a series of.
Leo Lam © Signals and Systems EE235 Leo Lam © Stanford The Stanford Linear Accelerator Center was known as SLAC, until the big earthquake,
SIGNALS AND SIGNAL SPACE EENG 3810/CSCE 3020
STAT 497 LECTURE NOTES 2.
CISE315 SaS, L171/16 Lecture 8: Basis Functions & Fourier Series 3. Basis functions: Concept of basis function. Fourier series representation of time functions.
Basic signals Why use complex exponentials? – Because they are useful building blocks which can be used to represent large and useful classes of signals.
Signal and Systems Prof. H. Sameti Chapter 3: Fourier Series Representation of Periodic Signals Complex Exponentials as Eigenfunctions of LTI Systems Fourier.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
FOURIER ANALYSIS TECHNIQUES Fourier series permit the extension of steady state analysis to general periodic signal. FOURIER SERIES.
Leo Lam © Signals and Systems EE235. Leo Lam © Today’s menu Happy May! Chocolates! Fourier Series Vote!
Periodic driving forces
12.2 Fourier Series Trigonometric Series is orthogonal on the interval [ -p, p]. In applications, we are interested to expand a function f(x) defined on.
Chapter 2. Signals and Linear Systems
Leo Lam © Signals and Systems EE235 Lecture 21.
Signals & Systems Lecture 13: Chapter 3 Spectrum Representation.
Leo Lam © Signals and Systems EE235. Leo Lam © Stanford The Stanford Linear Accelerator Center was known as SLAC, until the big earthquake,
Astronomical Data Analysis I
Leo Lam © Signals and Systems EE235 Lecture 19.
Math Review Towards Fourier Transform
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Normal Equations The Orthogonality Principle Solution of the Normal Equations.
INTRODUCTION TO SIGNALS
SIGNALS AND SIGNAL SPACE
.  Relationship between two sets of data  The word Correlation is made of Co- (meaning "together"), and Relation  Correlation is Positive when the.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Eigenfunctions Fourier Series of CT Signals Trigonometric Fourier.
Applied Quantitative Analysis and Practices LECTURE#10 By Dr. Osman Sadiq Paracha.
1 Roadmap SignalSystem Input Signal Output Signal characteristics Given input and system information, solve for the response Solving differential equation.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Eigenfunctions Fourier Series of CT Signals Trigonometric Fourier Series Dirichlet.
Signals and Systems Lecture 3: Sinusoids. 2 Today's lecture −Sinusoidal signals −Review of the Sine and Cosine Functions  Examples −Basic Trigonometric.
Chapter 2. READING ASSIGNMENTS This Lecture: Chapter 2, pp Appendix A: Complex Numbers Appendix B: MATLAB or Labview Chapter 1: Introduction.
Continuous-time Fourier Series Prof. Siripong Potisuk.
Section 3.2 – The Dot Product
Notes Assignments Tutorial problems
Fourier Series: Examples
Fourier Series September 18, 2000 EE 64, Section 1 ©Michael R. Gustafson II Pratt School of Engineering.
Correlation, Energy Spectral Density and Power Spectral Density
Signals and Systems Lecture 15
Presentation transcript:

1 ECE310 – Lecture 20 Relationship between Signals - Correlation 04/11/01

2 Signal Relationship Orthogonality No relationship Correlation How much alike two signals are?

3 Orthogonality Orthogonality: the dot product of the two vectors is zero Continuous-time signals orthogonality - over some time range from t 0 to t 0 +T If signals x 1 (t), x 2 (t), … x n (t) are mutually orthogonal in some interval, then all the signals are linearly independent in the interval, or none of the signal can be represented as a linear combination of others.

4 Correlation An analysis of whether two signals tend to “move together” Classification Highly correlated Highly positive correlated – over a long period of time, the signals tend to move in the same direction at the same time Highly negative correlated – over a long period of time, the signals tend to move in the opposite directions at the same time Partially correlated Uncorrelated – over a long period of time, the two signals tend to move in the same direction about half the time and in opposite directions the other half of the time Correlogram (with the two signals as the two axes) Correlation is a number

5 Correlogram Examples

6 % Function: Demonstrate the correlation between signals and the corresponding correlograms, correlation number % Author: Hairong Qi % Date: 04/08/01 clear all; clf; t = 0:0.01:1; % uncorrelated y1 = sin(2*pi*t); y2 = cos(2*pi*t); subplot(341); plot(t, y1); title('sin(2*pi*t)'); % signal 1 subplot(345); plot(t, y2); title('cos(2*pi*t)'); % signal 2 subplot(349); plot(y1, y2, '*'); xlabel('y1'); ylabel('y2'); % the correlogram % sum(y1.* y2) is the correlation number. sprintf() is the output reformat, and corrnr is a string corrnr = sprintf('UC: %5.2f', sum(y1.* y2)); title(corrnr); % highly negative correlated y1 = sin(2*pi*(t-1/4)); % signal 1 shifted to the right by 1/4 y2 = cos(2*pi*t); subplot(342); plot(t, y1); title('sin(2*pi*(t-1/4))'); subplot(346); plot(t, y2); title('cos(2*pi*t)'); subplot(3,4,10); plot(y1, y2, '*'); xlabel('y1'); ylabel('y2'); corrnr = sprintf('HNC: %5.2f', sum(y1.* y2)); title(corrnr); % highly positive correlated y1 = sin(2*pi*(t+1/4)); % signal 1 shifted to the left by 1/4 y2 = cos(2*pi*t); subplot(343); plot(t, y1); title('sin(2*pi*(t+1/4))'); subplot(347); plot(t, y2); title('cos(2*pi*t)'); subplot(3,4,11); plot(y1, y2, '*'); xlabel('y1'); ylabel('y2'); corrnr = sprintf('HPC: %5.2f', sum(y1.* y2)); title(corrnr); % partially correlated y1 = sin(2*pi*(t-1/3)); % signal 1 shifted to the right by 1/3 y2 = cos(2*pi*t); subplot(344); plot(t, y1); title('sin(2*pi*(t-1/2))'); subplot(348); plot(t, y2); title('sin(2*pi*t)'); subplot(3,4,12); plot(y1, y2, '*'); xlabel('y1'); ylabel('y2'); corrnr = sprintf('PC: %5.2f', sum(y1.* y2)); title(corrnr); Posted on web

7 Correlation Function Autocorrelation and crosscorrelation Correlation function is the correlation (number) when one signal is shifted across the other

8 Autocorrelation Function Correlation of a function with itself When shift t=0 When shift  != 0 Therefore, ???

9 Correlation Function of Energy and Power Signals Energy signal Power signal

10 Correlation Function of Two Periodic Signals T 0 is the period of the product, i.e. the LCM of T x and T y

11 Discussion The representation of a signal by a Fourier series can be seen as a process of correlating the signal with the sinusoids or complex exponentials to find out whether any particular sinusoid or complex exponential is present in the signal, and if so, how much of it is there. In another word, the coefficients calculate a “weight”