To write a python program to find the rank of a matrix
- Hardware – PCs
- Anaconda – Python 3.7 Installation / Moodle-Code Runner
reduce row echelon form
count non zero rows
end of the matrix
#name : NITHISH KUMAR S
#reference no:23013506
import numpy as np
matrix = np.array([[1,2,3],[3,6,9]])
rank = np.linalg.matrix_rank(matrix)
print(rank)
Thus the rank for the given matrix is successfully solved by using a python program.
