Post Reply 
Not returning correct Matrix Calculation
04-27-2021, 06:47 PM (This post was last modified: 04-27-2021 07:09 PM by Amer7.)
Post: #1
Not returning correct Matrix Calculation
My calculator is not giving me the correct matrix calculation.
Code:

2568.0000    -2568.00            1    0
2568.0000    2568.00000    0    1
3852.1284    -2568.00            1    0
2568.0000    3852.12840    0    1
3536.9834    -3411.36           1    0
3411.3569    3536.98344    0    1

That is Matrix A

Matrix O 
-4851346.102
-6513502.217
-4850456.274
-6513809.817
-4850472.619
-6513149.860

TRN(A)*A should be
58770372.8276     0.0000              9957.1118    8547.3569
0.0000                   58770372.8276     -8547.3569    9957.1118
9957.1118           -8547.3569      3.0000            0.0000
8547.3569            9957.1118      0.0000            3.0000

Inverse(TRN(A)*A) should be
7.29974E-07    -1.81352E-22    -0.002422813    -0.002079784
-2.53893E-21    7.29974E-07    0.002079784    -0.002422813
-0.002422813    0.002079784    14.30029098    0
-0.002079784    -0.002422813    -4.54077E-14    14.30029098

But I get different numbers than in Excel, im using Shift + devide key to inverse. Can someone explain, and later in my calculation i get wrong answer because of Inverse mistake.

TRN(A)*O should be
-1.03972E+11
-23394687040
-1.46E+07
-1.95E+07

- I get this OK, But my issue is here

M=( Inverse((TRN(A)*A) * (TRN(A)*O)
-0.6929740
0.2395352
4853740.802
6514666.637

But I get:
0.6929740
-0.2395352
-4853740.802
-6514666.637
Can someone explain why this is happening? - Im not writing a program im manually doing the calculation on Home screen.

And later 
A*M+O should be
0.017
-0.011
-0.023
-0.017
0.006
0.027

but I get
0.03314
-0.01158 
etc. - WRONG

I have tried to multiply the M matrix with (-1) but again calculation of O seems wrong.

What is the best command for finding Inverse matrix ? same happens when i use inv(Matrix that i want to invert)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Not returning correct Matrix Calculation - Amer7 - 04-27-2021 06:47 PM



User(s) browsing this thread: 1 Guest(s)