[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Ozzy Lash
Subject: Re:
Date: Sun, 25 Oct 2015 01:08:43 -0500

You are trying to multiply a 2x3 matrix by another 2x3 matrix.  The page that you point to multiplies a 2x3 by a 3x2 which is allowable.

>> A=[1,2,3;4,5,6];
>> B=[7,8;9,10;11,12];
>> A*B
ans =

    58    64
   139   154

Note if you print the A and B matrices you'll see:
>> A
A =

   1   2   3
   4   5   6

>> B
B =

    7    8
    9   10
   11   12

On Sun, Oct 25, 2015 at 12:52 AM, Jonathan Camilleri <address@hidden> wrote:
Just for info, I sent this to the authors of, as the tutorial at, does not seem to provide the right example, based also on feedback from members of this group.

>> A = [1,2,3; 4,5,6];
>> B = [7,9,11;8,10,12];
>> C = A*B;
error: operator *: nonconformant arguments (op1 is 2x3, op2 is 2x3)

I do not have a mathematical proof so I have to question at this stage.

Jonathan Camilleri

Mobile (MT): ++356 7982 7113
E-mail: address@hidden
Please consider your environmental responsibility before printing this e-mail.
I usually reply to emails within 2 business days.  If it's urgent, give me a call.

and, angel start-up investment opportunities available at
Online resume is available online at and shared bookmarks at

Help-octave mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]