Question: Trying to find operation counts for Gauss-Jordan elimination algorithm on MATLAB. I have the correct number of addition and subtraction operations, but am struggling with
Trying to find operation counts for Gauss-Jordan elimination algorithm on MATLAB. I have the correct number of addition and subtraction operations, but am struggling with calculating the total multiplication and division operations. For example, for matrix A = [1 2 3 4 5 6;4 5 6 7 8 9; 7 8 9 10 11 12], the total muldiv operations should be 41. In my current code below, that is incorrect. Help?

Th Subfunctions perforning row operations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
