{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ECE_320_Homework6_Soln

# ECE_320_Homework6_Soln - 15 Real Imaginary Homework 6...

This preview shows pages 1–3. Sign up to view the full content.

ECE 320 Spring 2008 Homework # 6 Solution Problem 1 Solve in MATLAB for n=1:500 t=1/50/500*(n-1); amp1=5*sqrt(2); amp2=sqrt(2); i1=amp1*sin(314*t)+amp2*sin(1571*t ); i2=amp1*sin(314*t+2/3*pi)+amp2*sin(1571*t +2*pi/3); i3=amp1*sin(314*t+4/3*pi)+amp2*sin(1571*t +4*pi/3); curr=i1+i2*exp(i*2/3*pi)+i3*exp(i*4/3*pi); x(n)=real(curr); y(n)=imag(curr); end plot(x,y) -15 -10 -5 0 5 10 15 -15 -10 -5 0 5 10 15 Real Imaginary

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 15 Real Imaginary Homework # 6 Problem 1 Figure 1Hw # 6 Problem 1 Problem 2 Again solve in MATLAB. Same as above but this time no harmonics and f = 60 Hz. 1. for n=1:500 t=1/60/500*(n-1); i1=5*sqrt(2)*sin(377*t); i2=5*sqrt(2)*sin(377*t+2/3*pi); i3=5*sqrt(2)*sin(377*t+4/3*pi); curr=i1+i2*exp(i*2/3*pi)+i3*exp(i*4/3*pi); x(n)=real(curr); y(n)=imag(curr); end plot(x,y)...
View Full Document

{[ snackBarMessage ]}