



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































>> lookfor complex
ctranspose.m: %' Complex conjugate transpose.
COMPLEX Construct complex result from real and
imaginary parts.
CONJ Complex conjugate.
CPLXPAIR Sort numbers into complex conjugate pairs.
IMAG Complex imaginary part.
REAL Complex real part.
CPLXMAP Plot a function of a complex variable.
exp(x) (^) Exponential; e x
sqrt(x) (^) Square root; x
log(x) (^) Natural logarithm; ln x
log10(x) (^) Common (base 10) logarithm; log x = log 10
x
FORTRAN Language – FORTRAN designers were
concerned with confusing ln with “one-n”
ceil(x) (^) Round to nearest integer toward +
fix(x) (^) Round to nearest integer toward zero
floor(x) (^) Round to nearest integer toward −
round(x) (^) Round toward nearest integer.
sign(x)
Signum function:
+1 if x > 0; 0 if x = 0; −1 if x < 0.
Graph
x 7
x 1 7 1 7
1 (Engr Def.)
1 (Math Def.)
j
i
x 2. 646 j
z = x + j y
Real part
x = Re( z )
Imaginary part
y = Im( z )
Re( z )
Im( z )
Complex numbers
Real
numbers
2 = – 1 j
3 = – j j
4 = + 1 j
- 1 = – j
j
4 n = + 1; j
4 n+ 1 = +j ; j
4 n+ 2 = – 1; j
4 n+ 3 = – j for n = 0 , ± 1 , ± 2 , …
1
= x 1
+ j y 1
z 2
= x 2
+ j y 2
z 1
= z 2,
1
= x 2
AND y 1
= y 2
z 1
+ z 2,
1
+ x 2
) + j ( y 1
+ y 2
)
x
y
r
z = x + i y
Im( z )
Re( z )
The Argand diagram Modulus (magnitude) of z
arctan
= arg z =
x
y
arctan x
y , if x > 0
r = mod z = |z| = x
2 + y
2
Argument (angle) of z
Polar form of a complex number z
z = r (cos + j sin
z 1
= r 1
(cos 1
z 2
= r 2
(cos 2
x
y
r
z = x + j y
Im( z )
Re( z )
|z 1
z 2
1
| |z 2
| ; arg( z 1
z 2
) = arg( z 1
) + arg( z 2
)
z 1
z 2
1
r 2
(cos ( 1
) + j sin( 1
))
1
- 2
) + j sin( 1
- 2
)) z 2
z 1
r 2
r 1
1
) – arg( z 2
) |z 2 |
|z 1 |
z 2
z 1
z 2
z 1
w w d d cos j sin
1 2
cos
1 2 1 2 1 2 1 2 1 2 1 2
1 2
z 1
z 2
1
r 2
(cos ( 1
) + j sin( 1
))
z 1 z 2 … z n
1 r 2 … r n [cos ( 1
z
n
n z (cos ( n ) + j sin( n )) 1
= z 2
=…= z n
r = 1 (cos + j sin )
n
French Mathematician Abraham de Moivre (1667-1754)
(^) , 2 1
2 2
A complex conjugate is also inverse
A power series for an exponential
!
u
!
u e u
u
2 3
1
2 3
2! 4! 3! 5!
1
3!
(j )
2!
( ) 1
2 4 3 5
2 3
θ θ θ
θ θ
jθ θ e jθ
jθ
j
z e θ sinθ
jθ cos j
i
Im( z )
Re( z )
1
1
- 1 - 1
-
- i
jθ -jθ
jθ - jθ
e e
j
θ
θ e e
2
1 sin
2
1 cos
_z z e θ sinθ_*
-jθ cos j