Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 21
Default matrix multiplication

hi there

my formula is

=SQRT(MMULT(MMULT(AV47:BM47,$I$47:$Z$64),TRANSPOSE (AV47:BM47)))

all cells have numbers in them as values.....
i m getting #value ....
can some one pls help ?

sam
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default matrix multiplication

Did you array enter the formula? Ctrl+Shift+Enter Rather than just Enter?

--
Regards,
Tom Ogilvy

"Sam" wrote in message
om...
hi there

my formula is

=SQRT(MMULT(MMULT(AV47:BM47,$I$47:$Z$64),TRANSPOSE (AV47:BM47)))

all cells have numbers in them as values.....
i m getting #value ....
can some one pls help ?

sam



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default matrix multiplication

Hi

highlight the range you want the matrix to be in so if my matrix is 3x3
then I would highlight the matrix A1:C3. Then enter the matrix formula
and then hold down CRTL-Shift and press enter. This should fill in the
whole matrix with the formula you entered.

Hope this works... its been a while since I used MMULT().

Tom



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default matrix multiplication

The result for the ranges shown should be a single cell. But as you state,
it still needs to be array entered.
1 x 18 against 18 x 18 gives 1 x 18 against (transpose 1 x 18)
gives a 1 x 1
--
Regards,
Tom Ogilvy


"tomhaddock" wrote in message
...
Hi

highlight the range you want the matrix to be in so if my matrix is 3x3
then I would highlight the matrix A1:C3. Then enter the matrix formula
and then hold down CRTL-Shift and press enter. This should fill in the
whole matrix with the formula you entered.

Hope this works... its been a while since I used MMULT().

Tom



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
Matrix multiplication algorithm wauer Excel Discussion (Misc queries) 0 October 7th 09 10:38 AM
Matrix multiplication using sumproduct Rasoul Khoshravan Excel Worksheet Functions 3 October 16th 06 11:55 PM
Matrix Multiplication Jeff Excel Discussion (Misc queries) 1 January 18th 06 08:15 PM
Matrix Multiplication Matrix Bill Excel Worksheet Functions 1 October 6th 05 06:53 PM
matrix multiplication Carine Excel Worksheet Functions 4 July 6th 05 08:06 PM


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