help-octave
[Top][All Lists]
Advanced

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

Re: Decoding error message


From: asha g
Subject: Re: Decoding error message
Date: Fri, 11 Jul 2008 05:05:22 -0700 (PDT)


I have a long program:
But if I change, the value of I from 48.4 to 48.4*10^-17, I see the error 
message that I mentioned.
The code in that section is:
deltaT = 0.001*10^-3; niter = 10000; N = 10; 
V = linspace(-70*10^-3,-65*10^-3,N);

if deltaT*niter<5*10^-3
I = 0;
elseif 5*10^-3== deltaT*niter<=55*10^-3
I = 48.4*10^-13;
V(1) = V(2) -(Ri/Ao)*I*hd;
V(N) = (4/3)*V(N-1)-(1/3)*V(N-1);
end 

the code continues to calculate V in a time loop for niter.
Then I plot vv1 which is vvvv(:,1)
plot (t,vv1)

I am not sure if this is enough information for you to check out what is 
happening. 
Asha 

> 
> Can you provide more information as to what your doing when
> the error  
> occurs?
> 
> Ben
> 
> On Jul 11, 2008, at 7:34 AM, asha g wrote:
> 
> > What do you think is going on? I seem to have the
> correct gnuplot.
> > Asha
> >
> >            Goals too clearly defined can become
> blinkers.   Mary  
> > Catherine Bateson
> >
> >
> > --- On Fri, 7/11/08, Ben Abbott
> <address@hidden> wrote:
> >
> >> From: Ben Abbott <address@hidden>
> >> Subject: Re: Decoding error message
> >> To: address@hidden
> >> Cc: address@hidden
> >> Date: Friday, July 11, 2008, 4:35 PM
> >> On Jul 11, 2008, at 6:58 AM, asha g wrote:
> >>
> >>> This is what I get:
> >>> Asha
> >>>
> >>> octave:4> system("which gnuplot")
> >>> /usr/local/bin/gnuplot
> >>> ans = 0
> >>
> >> Ok, I can't tell which version that one might
> be. Try
> >>
> >>    octave:1> system("gnuplot")
> >>
> >> You should get
> >>
> >>>   G N U P L O T
> >>>   Version 4.2 patchlevel 3
> >>>   last modified Mar 2008
> >>>   System: Darwin 9.4.0
> >>>
> >>>   Copyright (C) 1986 - 1993, 1998, 2004, 2007,
> 2008
> >>>   Thomas Williams, Colin Kelley and many others
> >>>
> >>>   Type `help` to access the on-line reference
> manual.
> >>>   The gnuplot FAQ is available from
> >> http://www.gnuplot.info/faq/
> >>>
> >>>   Send bug reports and suggestions to
> >> <http://sourceforge.net/projects/gnuplot
> >>>>
> >>
> >> To return type
> >>
> >>    gnuplot> exit
> >>
> >> You're looking for the "Version" and
> >> "patchlevel". Do you get 4.2 and 3?
> >>
> >> Ben
> >
> >
> >


      


reply via email to

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