Decoding error message

asha g dend_15 at yahoo.com
Wed Apr 22 04:03:25 CDT 2009



 Thanks. Sorted it out.
Asha 
> To: "asha g" <dend_15 at yahoo.com>
> Cc: help at octave.org
> Date: Wednesday, 22 April, 2009, 2:19 PM
> 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
> 


      Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com



More information about the Help-octave mailing list