Inverse Matrix Transformation

Follow along: Inverse Matrix Transformation

The program launching process along with parameter settings are all simplified and set up on the Jupyter Notebook Environment.
  • Create a new *.ipynb file Jupyter Notebook
  • Fill in the content below in the newly created file
  • Follow and Execute the example codes
(The Jetson Board used for these examples are => Jetson Nano)
  • 2.inverse.py

import numpy as np

matrix = np.array([[1, 2], [3, 4]])
print(matrix)
print('------')
inverse_matrix = np.linalg.inv(matrix)
print(inverse_matrix)
  • code progress

    1. Create a matrix of size 2x2.

    2. Print the generated matrix.

    3. Create inverse matrix of original matrix.

    4. Generated inverse matrix output.