help-octave
[Top][All Lists]
Advanced

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

Re:


From: Carlo De Falco
Subject: Re:
Date: Sun, 25 Oct 2015 06:13:20 +0000

On 25 Oct 2015, at 06:52, Jonathan Camilleri <address@hidden> wrote:

>  the tutorial at http://www.mathsisfun.com/algebra/matrix-multiplying.html, 
> 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.

your code does not represent correctly the example at the link you posted.
you transposed the matrix B. If you input B correctly the example in the 
tutorial
will work as expected.

c.




reply via email to

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