+ Reply to Thread
Results 1 to 4 of 4

multiplication of matrix A and B

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    13

    multiplication of matrix A and B

    Hello,

    I have two matrices A = [1] and B = [4 3 0]
    [0]
    [2]

    And i have to multiply these two...

    The question asks me to use cells procedure and the output of my matrix code should be printed on the worksheet.

    Please help T.T

  2. #2
    Registered User
    Join Date
    10-15-2012
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: multiplication of matrix A and B

    by the way, demension for matrix for A is 3 x 1 and B is 1x3

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: multiplication of matrix A and B

    Assume A is in A1:A3 and B is in C1:C3
    * Select a 3x3 target range
    * Enter the formula =MMULT(A1:A3;C1:E1)in top left cell
    * Complete with Ctrl + Shift + Enter


    Edit: Oops! Did you want the VBA code and not the formulas? Sorry, my misstake
    Attached Files Attached Files
    Last edited by Jacc; 10-16-2012 at 03:55 AM.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: multiplication of matrix A and B

    Check out Dana DeLouis post in this link: http://www.pcreview.co.uk/forums/exc...-t3851454.html
    Looks pretty neat.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1