Consulting

Results 1 to 3 of 3

Thread: Matrix Multiplication VBA

  1. #1

    Unhappy Matrix Multiplication VBA

    Hey guys!

    So I've been working on this VBA assignment and I've hit a wall . I've been working on that problem for hours now, and I have identified the source of the issue, but I have NO IDEA what causes it!!

    I'll post the code with detailed comments in it. Hopefully someone can help... it baffles me...

    I don't know whether the problem is of a mathematical nature or a programming nature too! I understand you might not be able to help with the mathematical part but confirming the coding is right would already help sooo much.

    Devoir 2-1.xlsm

    It might seem like a big code but I've already narrowed down the problem (see comments).

    The input is the whole big array, the output should be a 3 x 1 array

    Thanks

    PS: pardon my english... it's getting rusty

  2. #2
    Moderator VBAX Master Tommy's Avatar
    Joined
    May 2004
    Location
    Houston, TX
    Posts
    1,184
    Location
    It is in the MMult function, the arrays have to be the same size.
    See here : http://msdn.microsoft.com/en-us/libr...ffice.15).aspx

  3. #3
    My arrays are the right sizes!

Tags for this Thread

Posting Permissions

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