{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lab2solutions

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

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

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

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

View Full Document
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