Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Carine
 
Posts: n/a
Default matrix multiplication

Is there a limit in Excel in the dimensions of the matrices we can multiply?
I am trying to multiply a 113*2 matrix by a 2*113 matrix and get an error.

Thanks,
Carine
  #2   Report Post  
Daniel CHEN
 
Posts: n/a
Default

The following is from Excel help file:

MMULT(array1,array2)

MMULT returns the #VALUE! error when:
a.. Any cells are empty or contain text.
b.. The number of columns in array1 is different from the number of rows
in array2.
c.. The size of the resulting array is equal to or greater than a total of
5,461 cells.
Note The formula in the example must be entered as an array formula. After
copying the example to a blank worksheet, select the range A8:B9 starting
with the formula cell. Press F2, and then press CTRL+SHIFT+ENTER. If the
formula is not entered as an array formula, the single result is 2.

===========
Yongjun CHEN

"Carine" wrote in message
...
Is there a limit in Excel in the dimensions of the matrices we can
multiply?
I am trying to multiply a 113*2 matrix by a 2*113 matrix and get an error.

Thanks,
Carine



  #3   Report Post  
Alan Beban
 
Posts: n/a
Default

Carine, what version of Excel are you using?

Daniel, what version of Excel Help are you using?

Alan Beban

Daniel CHEN wrote:
The following is from Excel help file:

MMULT(array1,array2)

MMULT returns the #VALUE! error when:
a.. Any cells are empty or contain text.
b.. The number of columns in array1 is different from the number of rows
in array2.
c.. The size of the resulting array is equal to or greater than a total of
5,461 cells.
Note The formula in the example must be entered as an array formula. After
copying the example to a blank worksheet, select the range A8:B9 starting
with the formula cell. Press F2, and then press CTRL+SHIFT+ENTER. If the
formula is not entered as an array formula, the single result is 2.

===========
Yongjun CHEN

"Carine" wrote in message
...

Is there a limit in Excel in the dimensions of the matrices we can
multiply?
I am trying to multiply a 113*2 matrix by a 2*113 matrix and get an error.

Thanks,
Carine




  #4   Report Post  
Domenic
 
Posts: n/a
Default

While I can't give you a definitive answer, it appears that there is a
limit. I too get an error value.

In article ,
Carine wrote:

Is there a limit in Excel in the dimensions of the matrices we can multiply?
I am trying to multiply a 113*2 matrix by a 2*113 matrix and get an error.

Thanks,
Carine

  #5   Report Post  
Harlan Grove
 
Posts: n/a
Default

Carine wrote...
Is there a limit in Excel in the dimensions of the matrices we can multiply?
I am trying to multiply a 113*2 matrix by a 2*113 matrix and get an error.


So something like MMULT(A1:B113,TRANSPOSE(A1:B113))? The resulting
array would have dimensions 113*113, so 12,769 entries. That's well
beyond the largest result Excel can return. On the other hand, if you
mean something like MMULT(TRANSPOSE(A1:B113),A1:B113), the resulting
array would only be 2*2, and the only ways Excel would return #VALUE!
would be that some entries in either argument to MMULT weren't numbers
*OR* some of the intermediate calculations caused underflow or overflow
(very rare).

If you mean the former, your only real choices are downloading and
installing Laurent Longre's MOREFUNC.XLL add-in from

http://xcell05.free.fr/english/

and using its MMULT.EXT function, or use a different program to do your
matrix multiplication, e.g., R, APL, Mathematica, Maple, MatLab,
Octave, SciLab, or other math or stats programs.



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
Recreate the upper part of a symetric data matrix 75x75 Michael Cantinotti Excel Discussion (Misc queries) 4 May 23rd 05 05:04 PM
CORRELATION / COVARIANCE MATRIX Walker Excel Worksheet Functions 1 April 30th 05 06:36 AM
Correlation matrix Peppino Excel Worksheet Functions 1 March 10th 05 01:32 PM
Matrix multiplication with empty cells Ingrid Voigt Excel Worksheet Functions 2 March 8th 05 03:47 AM
Finding Values in a "Matrix" Diane Alsing Excel Discussion (Misc queries) 8 December 31st 04 08:21 PM


All times are GMT +1. The time now is 04:08 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"