help-octave
[Top][All Lists]
Advanced

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

Re: "nonconformant" error


From: Keith Goodman
Subject: Re: "nonconformant" error
Date: Tue, 16 May 2006 12:16:02 -0700

On 5/16/06, Gabriel F. Ideriha <address@hidden> wrote:


Hi!!
Im trying to resolve this equation, but im getting this error:

octave:17>
P=Pw+(8.24493*(10^-1)-4.0899*(10^-3)*T+7.6438*(10^-5)*T.^2-8.2467*(10^-7)*T.^3+5.3875*(10^-9)*T.^4)*S+(-5.72466*(10^-3)+1.0227*(10^-4)*T-1.6546*(10^-6)*T^2)*S.^(3/2)+4.8314*(10^-4)*S.^2;
error: operator *: nonconformant arguments (op1 is 1x421, op2 is 1x211)
error: evaluating binary operator `*' near line 17, column 100
error: evaluating binary operator `+' near line 17, column 5
error: evaluating binary operator `+' near line 17, column 102
error: evaluating binary operator `+' near line 17, column 166
error: evaluating assignment expression near line 17, column 2

I revised all terms but couldn't find any problem with it...
Can someone lend me a hand??

I'd start with whos to see the size of the variables. My guess is that
T is 1x421 and S is 1x211.

So enter then command

octave:18> whos

or

octave:18> whos P Pw T S



reply via email to

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