lab2solutions

lab2solutions - z2=1-j z=z1+z2 compass(z) clear all z1=1+j...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Fall 2007 Lab2 Solution Created by Rong Guo 4.1 >> z1=3+5j z1 = 3.0000 + 5.0000i >> compass(z1) >> z2=10+2j z2 = 10.0000 + 2.0000i >> compass(z2) >> z3=-3+8j z3 = -3.0000 + 8.0000i >> compass(z3) >> z4=-1+4j z4 = -1.0000 + 4.0000i >> compass(z4) 4.2 %Four numbers on the real axis clear all z1=4; z2=3; z3=-2; z4=-1; compass(z1) hold on
Background image of page 1

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

View Full DocumentRight Arrow Icon
compass(z2) compass(z3) compass(z4) hold off %Four numbers on the imaginary axis clear all z1=4j; z2=3j; z3=-2j; z4=-j; compass(z1) hold on compass(z2) compass(z3) compass(z4) hold off %Two distinct number, which are conjugates of each other clear all z1=3+4j; z2=3-4j; compass(z1) hold on compass(z2) hold off 4.3 %Two distinct number, with abs(z1)=abs(z2)=1 clear all z1=j; z2=1; compass(z1) hold on compass(z2) hold off %Two distinct number, with angle(z1)=angle(z2)=30degree clear all
Background image of page 2
z1=5*exp(j*pi/6); z2=2*exp(j*pi/6); compass(z1) hold on compass(z2) hold off 4.4. clear all z1=1+j
Background image of page 3

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

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: z2=1-j z=z1+z2 compass(z) clear all z1=1+j z2=1+j z=z1+z2 compass(z) clear all z1=1+j z2=-1+j z=z1+z2 compass(z) clear all z1=1+j z2=j z=z1+z2 compass(z) 4.5 clear all z1=1+j z2=1-j z=z1*z2 compass(z) clear all z1=1+j z2=1+j z=z1*z2 compass(z) clear all z1=1+j z2=-1+j z=z1*z2 compass(z) clear all z1=1+j z2=j z=z1*z2 compass(z) 4.6 clear all z1=1+j z2=1-j z=z1/z2 compass(z) clear all z1=1+j z2=1+j z=z1/z2 compass(z) clear all z1=1+j z2=-1+j z=z1/z2 compass(z) clear all z1=1+j z2=j z=z1/z2 compass(z) 4.7 clear all z=1+j n=1:4 x=(j.^n)*z compass(x) 4.13 clear all z1=2+3j z2=4-2j z3=z1+z2 z5=z1*z2 z7=z2/z1 4.14 clear all z1=2*exp(j*pi/3) z2=3*exp(j*pi/4) z4=z1-z2 abs(z4) angle(z4) z6=z1/z2 abs(z6) angle(z6) z9=z1^(-2) abs(z9) angle(z9) z10=3*z1+2*z2 abs(z10) angle(z10) 4.29 clear all z=roots([1 0 0 -27]) compass(z) 4.30 clear all z=roots([1 0 0 0 0 -32]) compass(z)...
View Full Document

Page1 / 6

lab2solutions - z2=1-j z=z1+z2 compass(z) clear all z1=1+j...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online