Decoding error message
Jaroslav Hajek
highegg at gmail.com
Wed Apr 22 03:49:46 CDT 2009
On Wed, Apr 22, 2009 at 10:37 AM, asha g <dend_15 at yahoo.com> 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
url: www.highegg.matfyz.cz
More information about the Help-octave
mailing list