[Top][All Lists]

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

Re: Decoding error message

From: Jaroslav Hajek
Subject: Re: Decoding error message
Date: Wed, 22 Apr 2009 10:49:46 +0200

On Wed, Apr 22, 2009 at 10:37 AM, asha g <address@hidden> wrote:
>  I have a function which has :
> P(2) = gammaox.*Q1'(2)./Cm(2) + gammaox1.*Qfd'(2)./Cm(2) 
> -Iionsoma1./Cm(2)+Istim1./Cm(2)
> I get the following error for this line
> error: A(I) = X: X must be a scalar or a vector with same length as I
> error: assignment failed, or no method for `matrix = matrix'
> error: evaluating assignment expression near line 54, column 5
> Please help me understand what is wrong.
> Thanks
> Asha

Apparently the rhs produces a matrix, which you try to assign to a
single element.

RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic

reply via email to

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