Complete the code to calculate the inverse of matrix A.
B = [1](A);The inv function in MATLAB calculates the inverse of a matrix.
Complete the code to compute the inverse of a 3x3 matrix M.
invM = [1](M);Use inv to find the inverse of matrix M.
Fix the error in the code to correctly compute the inverse of matrix X.
Y = [1](X);The correct MATLAB function to compute the inverse is inv.
Fill both blanks to create a matrix inverse and multiply it by the original matrix.
invA = [1](A); I = A [2] invA;
Use inv to get the inverse, then multiply A by its inverse using *.
Fill all three blanks to compute the inverse of matrix B, multiply it by vector v, and store the result in x.
invB = [1](B); x = invB [2] v; result = [3];
First, compute the inverse with inv, then multiply by v using *, and finally assign the product to result.
