ahmedibrahim6 / AsuMathLabG03

C++ project describes MATLAB software
0 stars 1 forks source link

bug 1 : Division operation doesn't show the right output for some inputs and takes a long time #1

Closed ahmedibrahim6 closed 6 years ago

ahmedibrahim6 commented 6 years ago

1- after executing bigexample.m in the project drive folder the program doesn't show the right output for this operation F = A / B

2- so the program takes two minutes to execute this operation and finally print a wrong output ( determinant = 0)

SalmaShamel commented 6 years ago

inverse matrix.txt

SalmaShamel commented 6 years ago

inverse2.txt

SalmaShamel commented 6 years ago

inverse3.txt issue : division was taking too long to be calculated due to excessive recursion operations , we were using the adjoint and determinant method which was very slow . the execution time was 2 minutes solution : we used another method to calculate the inverse fast (gaussian elimination method) without the use of any recursions. now ,the execution time is 0.02 sec