How do I find the inverse of matrix A*B and store it in the variable, C, and Without iteration, create a new matrix D that is the same as A except that all values less than 5 are replaced by 0?
2 views (last 30 days)
Show older comments
How do i find the inverse of matrix on matlab without iteration to create a new matrix D?
2 Comments
Geoff Hayes
on 16 Apr 2020
Cathy - this sounds like homework. What have you tried so far? Please show the code that you have written and discuss the problems that you are having with it.
John D'Errico
on 16 Apr 2020
Edited: John D'Errico
on 16 Apr 2020
The inverse of WHAT matrix? A or (A*B)?
C = inv(A*B);
D = A;
D(D<5) = 0;
While I am sure this is not qhat you want, it seems to satisfy what you have asked for. At the same time, I have afunny feeling there is no solution that is not iterative to what you may actually want to see.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!