#1   Report Post  
Posted to microsoft.public.excel.misc
Jeff
 
Posts: n/a
Default Matrix Problem

I was trying to match a matrix division, that was written in another code.


Matrix A =

1 1 1 1 0 0 0 0
1000 100 10 1 0 0 0 0
0 0 0 0 1000 100 10 1
0 0 0 0 4096 256 16 1
3 2 1 0 0 0 0 0
300 20 1 0 -300 -20 -1 0
0 0 0 0 768 32 1 0
60 2 0 0 -60 -2 0 0

Matrix B = 0.11413125 0.30555 0.30555 0.425 0.0085625 0 0.019908333 0

Matrix C =
-0.000135571 0.003038657 0.002891898 0.108336265 8.5706E-05 -0.003599653 0.069275 -0.112940741

The calculation that I am looking at has

Matrix B / Matrix A = Matrix C

I was trying to use a function in excel to match matrix C, but I have been
unable to do this.

Any help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jerry W. Lewis
 
Posts: n/a
Default Matrix Problem

With matrices, you don't divide, you multiply by an inverse.

Assuming that B is a row, as you have portrayed it, and that you want C as a
row, select the full output range, type the following formula (replacing A
and B with the appropriate ranges)

=TRANSPOSE(MMULT(MINVERSE(A),TRANSPOSE(B)))

and array enter it (Ctrl-Shift-Enter).

Jerry

"Jeff" wrote:

I was trying to match a matrix division, that was written in another code.


Matrix A =

1 1 1 1 0 0 0 0
1000 100 10 1 0 0 0 0
0 0 0 0 1000 100 10 1
0 0 0 0 4096 256 16 1
3 2 1 0 0 0 0 0
300 20 1 0 -300 -20 -1 0
0 0 0 0 768 32 1 0
60 2 0 0 -60 -2 0 0

Matrix B = 0.11413125 0.30555 0.30555 0.425 0.0085625 0 0.019908333 0

Matrix C =
-0.000135571 0.003038657 0.002891898 0.108336265 8.5706E-05 -0.003599653 0.069275 -0.112940741

The calculation that I am looking at has

Matrix B / Matrix A = Matrix C

I was trying to use a function in excel to match matrix C, but I have been
unable to do this.

Any help would be greatly appreciated.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
problem office assistant R.VENKATARAMAN Excel Discussion (Misc queries) 0 June 15th 05 06:22 AM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


All times are GMT +1. The time now is 02:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"