Solving Linear Equations Flashcards

(5 cards)

1
Q

How to solve Ax = b using inverse of the matrix?

A

x = inv(A) * b’

This is just for square matrices that are invertible.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

General and more efficient way to solve systems of linear equations in matlab?

A

If we have: Ax = b

We can solve it by using:

x = A\b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do we get the determinant of a matrix?

A

det (A)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do we get the eigenvalues and eigenvectors of a matrix?

A

Only Eigenvalues = eig(A)

Eigenvectors and diagonal matrix:

[V, D] = eig(A)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do we get the norm of a vector or matrix?

A

Using the norm command:

norm(x) or norm(A)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly