To write a python program to find the rank of a matrix
- Hardware – PCs
- Anaconda – Python 3.7 Installation / Moodle-Code Runner
#Program to find the rank of a matrix.
#Developed by: kavya
#RegisterNumber:22008613
import numpy as np
A= np.array([[1,2,3],[3,6,9]])
B= np.linalg.matrix_rank(A)
print(B)
Thus the rank for the given matrix is successfully solved by using a python program.