ECE 650 1/8. Homework Set 4 - Solutions

Similar documents
Self-Adjointness and Its Relationship to Quantum Mechanics. Ronald I. Frank 2016

The Matrix Exponential

The Matrix Exponential

Section 11.6: Directional Derivatives and the Gradient Vector

COHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim.

Quasi-Classical States of the Simple Harmonic Oscillator

There is an arbitrary overall complex phase that could be added to A, but since this makes no difference we set it to zero and choose A real.

MA 262, Spring 2018, Final exam Version 01 (Green)

That is, we start with a general matrix: And end with a simpler matrix:

ECE602 Exam 1 April 5, You must show ALL of your work for full credit.

Math 102. Rumbos Spring Solutions to Assignment #8. Solution: The matrix, A, corresponding to the system in (1) is

perm4 A cnt 0 for for if A i 1 A i cnt cnt 1 cnt i j. j k. k l. i k. j l. i l

Function Spaces. a x 3. (Letting x = 1 =)) a(0) + b + c (1) = 0. Row reducing the matrix. b 1. e 4 3. e 9. >: (x = 1 =)) a(0) + b + c (1) = 0

Probability and Stochastic Processes: A Friendly Introduction for Electrical and Computer Engineers Roy D. Yates and David J.

Problem Set #2 Due: Friday April 20, 2018 at 5 PM.

u 3 = u 3 (x 1, x 2, x 3 )

Fourier Transforms and the Wave Equation. Key Mathematics: More Fourier transform theory, especially as applied to solving the wave equation.

cycle that does not cross any edges (including its own), then it has at least

INTEGRATION BY PARTS

Addition of angular momentum

2.3 Matrix Formulation

A Propagating Wave Packet Group Velocity Dispersion

2008 AP Calculus BC Multiple Choice Exam

EEO 401 Digital Signal Processing Prof. Mark Fowler

Addition of angular momentum

nd the particular orthogonal trajectory from the family of orthogonal trajectories passing through point (0; 1).

NEW APPLICATIONS OF THE ABEL-LIOUVILLE FORMULA

Engineering 323 Beautiful HW #13 Page 1 of 6 Brown Problem 5-12

MATH 319, WEEK 15: The Fundamental Matrix, Non-Homogeneous Systems of Differential Equations

SECTION where P (cos θ, sin θ) and Q(cos θ, sin θ) are polynomials in cos θ and sin θ, provided Q is never equal to zero.

Chapter 13 GMM for Linear Factor Models in Discount Factor form. GMM on the pricing errors gives a crosssectional

Basic Polyhedral theory

High Energy Physics. Lecture 5 The Passage of Particles through Matter

2F1120 Spektrala transformer för Media Solutions to Steiglitz, Chapter 1

Math 34A. Final Review

Einstein Equations for Tetrad Fields

Electromagnetic scattering. Graduate Course Electrical Engineering (Communications) 1 st Semester, Sharif University of Technology

Content Skills Assessments Lessons. Identify, classify, and apply properties of negative and positive angles.

Hydrogen Atom and One Electron Ions

Linear Non-Gaussian Structural Equation Models

Introduction to the Fourier transform. Computer Vision & Digital Image Processing. The Fourier transform (continued) The Fourier transform (continued)

Background: We have discussed the PIB, HO, and the energy of the RR model. In this chapter, the H-atom, and atomic orbitals.

Exercise 1. Sketch the graph of the following function. (x 2

Sundials and Linear Algebra

SCHUR S THEOREM REU SUMMER 2005

Data Assimilation 1. Alan O Neill National Centre for Earth Observation UK

The van der Waals interaction 1 D. E. Soper 2 University of Oregon 20 April 2012

Difference -Analytical Method of The One-Dimensional Convection-Diffusion Equation

DSP-First, 2/e. LECTURE # CH2-3 Complex Exponentials & Complex Numbers TLH MODIFIED. Aug , JH McClellan & RW Schafer

The graph of y = x (or y = ) consists of two branches, As x 0, y + ; as x 0, y +. x = 0 is the

3 Finite Element Parametric Geometry

Where k is either given or determined from the data and c is an arbitrary constant.

Lie Groups HW7. Wang Shuai. November 2015

1 Minimum Cut Problem

10. The Discrete-Time Fourier Transform (DTFT)

Thus, because if either [G : H] or [H : K] is infinite, then [G : K] is infinite, then [G : K] = [G : H][H : K] for all infinite cases.

AS 5850 Finite Element Analysis

Engineering Mathematics I. MCQ for Phase-I

Lecture 37 (Schrödinger Equation) Physics Spring 2018 Douglas Fields

Middle East Technical University Department of Mechanical Engineering ME 413 Introduction to Finite Element Analysis

1 Isoparametric Concept

Deift/Zhou Steepest descent, Part I

Applied Statistics II - Categorical Data Analysis Data analysis using Genstat - Exercise 2 Logistic regression

ME 321 Kinematics and Dynamics of Machines S. Lambert Winter 2002

Introduction to Arithmetic Geometry Fall 2013 Lecture #20 11/14/2013

Homogeneous Constant Matrix Systems, Part I

1997 AP Calculus AB: Section I, Part A

VII. Quantum Entanglement

4. (5a + b) 7 & x 1 = (3x 1)log 10 4 = log (M1) [4] d = 3 [4] T 2 = 5 + = 16 or or 16.

Propositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018

Linear-Phase FIR Transfer Functions. Functions. Functions. Functions. Functions. Functions. Let

ANALYSIS IN THE FREQUENCY DOMAIN

As the matrix of operator B is Hermitian so its eigenvalues must be real. It only remains to diagonalize the minor M 11 of matrix B.

Solution: APPM 1360 Final (150 pts) Spring (60 pts total) The following parts are not related, justify your answers:

Direct Approach for Discrete Systems One-Dimensional Elements

Derivation of Eigenvalue Matrix Equations

10. Limits involving infinity

2. Background Material

Coupled Pendulums. Two normal modes.

Lecture Outline. Skin Depth Power Flow 8/7/2018. EE 4347 Applied Electromagnetics. Topic 3e

Construction of asymmetric orthogonal arrays of strength three via a replacement method

VSMN30 FINITA ELEMENTMETODEN - DUGGA

Announce. ECE 2026 Summer LECTURE OBJECTIVES READING. LECTURE #3 Complex View of Sinusoids May 21, Complex Number Review

MSLC Math 151 WI09 Exam 2 Review Solutions

Types of Transfer Functions. Types of Transfer Functions. Types of Transfer Functions. Ideal Filters. Ideal Filters

Solution of Assignment #2

EECE 301 Signals & Systems Prof. Mark Fowler

Finite element discretization of Laplace and Poisson equations

DIFFERENTIAL EQUATION

Problem Set 6 Solutions

Higher order derivatives

Week 3: Connected Subgraphs

ELECTRON-MUON SCATTERING

Image Filtering: Noise Removal, Sharpening, Deblurring. Yao Wang Polytechnic University, Brooklyn, NY11201

Problem Statement. Definitions, Equations and Helpful Hints BEAUTIFUL HOMEWORK 6 ENGR 323 PROBLEM 3-79 WOOLSEY

Section 6.1. Question: 2. Let H be a subgroup of a group G. Then H operates on G by left multiplication. Describe the orbits for this operation.

INTRODUCTION TO AUTOMATIC CONTROLS INDEX LAPLACE TRANSFORMS

Division of Mechanics Lund University MULTIBODY DYNAMICS. Examination Name (write in block letters):.

Chapter 5. Introduction. Introduction. Introduction. Finite Element Modelling. Finite Element Modelling

Introduction to Condensed Matter Physics

Transcription:

ECE 65 /8 Homwork St - Solutions. (Stark & Woods #.) X: zro-man, C X Find G such that Y = GX will b lt. whit. (Will us: G = -/ E T ) Finding -valus for CX: dt = (-) (-) = Finding corrsponding -vctors for CX: For (CX - = - + sqrt() = sqrt() = For (CX - = + sqrt() = sqrt() + = / G = -/ E T = 6 5 5 5 = sqrt() (Normalizd to unit-lngth) = (-/) sqrt() (Normalizd to unit-lngth)

ECE 65 /8. (Stark & Woods, #.6) Two jointly normal RV s X and X hav joint pdf givn by: 8 f(x,x ) = xp7 x xx x 7 7 Find A such that Y = AX yilds componnt RV s Y and Y that ar indpndnt (Rcall for Gaussians, uncorrlatd implis indpndnt; so w can us a whitning filtr, A = G = -/ E T ) / x x xx x [x x ] / x C X - = / / From MATLAB, C X - has ignvalus ( = /, = 7/), and ignvctors: =, ; Thus, C X has th sam ignvctors, but with ignvalus and /7. Rcall in-class discussion about factoring quadratics. From Linar Alg: If matrix C has - vctor and -valu, thn matrix C - has th sam -vctor, with -valu /. A = -/ E T = / / 7 / / / / 7 7 Using vctor matrix form, with C Y = A C X A T = 7 7 7 7 7 = 7 7 7 7 7 = 7 (Vrifying that th Y componnts ar uncorrlatd and thus indpndnt, sinc Gaussian) f(y, y ) = y y xp = I

ECE 65 /8 5 5. Z: zro-man, with C Z R Z a. Finding th RMS lngth Z: MS-lngth: E{ Z } tr(rz) 7 RMS-lngth: sqrt(7).85 b. Dirctional prfrnc of Z: (-vctor of CZ with largst -valu,.56 obtaind from MATLAB using: [V lambda] = ig(cz)) c. MATLAB Cod to obtain Scholtz Panut (uss functions rms_lngth and unit_lngth_bs, both givn in Lctur 7 or 7.): thta = : : 5; thta = thta'; % col. vctor of angls, in dgrs cov = [5 ; ]; % ntring th covarianc matrix RMS = rms_lngth(thta, cov); % cod givn in Lctur 7 or 7. hold on [V lambda] = ig(cov) % to find max, min, lambda_max, lambda_min x = [ sqrt(6.85)*.85]; y = [ sqrt(6.85)*.56]; % for plot of max xmin = [ sqrt(.6)*.56]; ymin= [ sqrt(.6)*(-.85)]; % for plot of min plot(x, y), plot(xmin, ymin) % plotting min, max on Scholtz panut Rsult: (Also O.K. to do a hand-plot for max, min ) Scattr plot Quadratur - sqrt(lambda_max) max sqrt(lambda_min) min - - - In-Phas

ECE 65 /8. Giv a scond-momnt dscription of output vctor R if X is an lmntary, ral, whit vctor, and if A and b ar A =, b R = AX + b, R = b = RR = A RX A T = 5 5 I Scond-ordr dscription of ral random vctor R: {RR, R}, 5 5 5a. MATLAB Cod to find causal H for covarianc matrix C: >> C = [5 ; ]; >> R = chol(c); >> H = R' H =.6.89.95 5b. MATLAB Cod to gnrat, -dimnsional whit standard normal vctors, W, and mak a scattrplot: >> W = normrnd(,,,); >> W = normrnd(,,,); >> W = [W W]; >> scattrplot(x) 5c. MATLAB Cod to color th whit vctors from 5b, obtaining vctors X, and mak a scattrplot. (Includ dirctional prfrnc.) A b R X

ECE 65 5/8 >> X_almost = H*W' % havn t addd constant c c = [; ]; for icount = : % for loop to add in constant c X_almost(:,icount) = X_almost(:, icount)+c; nd scattrplot(x_almost') Whit: Colord: Scattr plot 8 Scattr plot Quadratur - Quadratur 6 - (,) Dirctional prfrnc: [.89.7], starting at [ ] - - -6 - - - - In-Phas -8-5 5 In-Phas 6. Writ out th xpandd form for th givn quadratic form: x T A x = x x x 5 5 x x 7 x Starting on th righ sid of x T Ax, multiplying out Ax w obtain th x matrix: x x 5x x x x 5x x 7x Pr-multiplying th abov answr by xt yilds th scalar: x x x 5x x x x x x x 5x x x x 7 x = x + x + 7x + x x x x + 6 x x. (combining lik trms) Not that this agrs with th xpctation w hav basd on quadratic factoring.

ECE 65 6/8 7. Writ in th form x T A x: a. x + x x + x 7a. ½ A =, ½ X A X = [x x ] b. -9x x 6x + 6x x -8x x + x x x x 7b. ½ A = 9 / /, ½ X A X = [x x x ] 6 9 / x / x 6 x 8. (Tutorial Problm: Gram-Schmidt, QR, and matrix invrss) a. Writ a MATLA B function calld Gram_Schmidt to comput th Gram- Schmidt Orthogonalization on th columns (say x k ) of an input matrix X. (You may assum that th input matrix is squar.) Us th algorithm givn in Lctur 5. Hav your cod put th nw orthogonal columns {u i / u i } in a matrix calld Q, so that th first lin of your cod should b: Q = function Gram_Schmidt(X) Us MATLAB s function rats( ) to mak th lmnts of Q b in rational form. MATLAB Cod: function [ Q ] = Gram_Schmidt( X ) % function Gram_Schmidt taks as input a matrix X; % th output matrix Q contains unit-lngth orthonormal % column vctors spanning th sam spac as th columns % of input matrix X. (Algorithm from p. 9 of Lct. 5) % Notation; column vctor in lctur nots is a % column of Q hr. % Column vctor x in lctur nots is a column of X % hr; Q =zros(siz(x)); [m n] = siz(x); Q(:,) = X(:,)/norm(X(:,)); % sts = x/ x for j = :n % running through columns of X and Q sum_proj = ; % initializing sum trm to for k = :j- sum_proj = sum_proj+ dot(q(:,k),x(:,j))*q(:,k);

ECE 65 7/8 nd Q(:,j)=X(:,j)- sum_proj; Q(:,j) = Q(:,j)/norm(Q(:, j)); nd Q = rats(q); nd b. Tst your function by passing in th input matrix X = [ -5 6 67-68 - -] MATLAB call statmnt and rsult; not X (givn abov) had bn dfind in th command window: >> Q = Gram_Schmidt(X) Q = 6/7-69/75-58/75 /7 58/75 6/75 -/7 6/5 -/5 c. Us MATLAB s function qr( ) to find th QR-Factorization of X as givn in part b. (Not that th Q matrix should again b th sam Q (up to sign) as computd by your Gram-Schmidt program. Th R matrix should b uppr triangular, containing projction valus. For xampl, row will contain:, dot(, x ), and dot(, x ). MATLAB s qr factorization: >> [Q R] = qr(x) Q = -.857.9. -.86 -.99 -..857 -.7.99 R = -. -.. -75. 7. -5. In MATLAB, typ: >> doc qr

ECE 65 8/8 Not Q from QR factorization agrs with our Q obtaind by Gram-Schmidt Orthogonalization. Also not: in row of R matrix: dot(x, ) =, th lngth of th projction of x onto. d. Us MATLAB to comput Q T Q. Writ a fw sntncs to xplain th answr. >> Q'*Q ans =. -. -. -... -... Q Q is th idntity matrix, bcaus th columns of Q ar orthogonal and unitlngth. That maks Q an orthogonal matrix. For orthogonal matrics, th transpos of th matrix is th invrs of th matrix, so Q Q = QQ = I, th idntity matrix.