Professional Documents
Culture Documents
Week - 1 - Course Introduction PDF
Week - 1 - Course Introduction PDF
(AMEN)
02/04/2020
Motivation
▪ Register for the course and submit the final assignment – get a grade
-???
▪ Current folder is the directory where you can save your work
m can be a scalar or an array. In case of arrays, the operations are carried element by
element
sin ϴ
• 2. 𝑦 = 𝑒 𝑎 . + 𝑒 −𝑎 ; a=2 ; b=30 and ϴ = 45o
ln 𝑏
3
1 1 1−𝑎
𝑇2 + ln1−𝑏
𝑀1 𝑀2
• 4. 𝑦 = ; a = -1.5; b = 0.5; M1=28;M2=44;T=273
𝑎2
▪ Transpose operation
• A.' returns the non-conjugate transpose of A matrix
• A' can also be used as it produces same result for real values,
incase of complex number it gives conjugate transpose of A
matrix
▪ Array indexing
Consider a matrix A,
A = 11 12 13 14
26 42 56 89
45 39 78 12
20 99 10 36
➢ Command:
• To access an element at mth row and nth column from the matrix A,
h=A(m,n)
Example: h=A(3,2) gives h=39
▪ Linear indexing:
• Accessing the elements of a matrix with single subscript
1 5 9 13
A= 2
11
6
12
10
13
14
14
26 42 56 89
3 7 11 15
45 39 78 12
4 8 12 16
20 99 10 36