help-octave
[Top][All Lists]
Advanced

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

Re: 3 D plots


From: asha g
Subject: Re: 3 D plots
Date: Sun, 18 Mar 2012 23:39:07 +0800 (SGT)

It needed to be in a bracket - is that what the problem was and was that why it was not plotting ? 
I will try this and work tomorrow and get back.
thanks
asha 
 
 
 
 
 
Goals too clearly defined can become blinkers.
Mary Catherine Bateson


From: Doug Stewart <address@hidden>
To: asha g <address@hidden>
Cc: "address@hidden" <address@hidden>
Sent: Sunday, 18 March 2012 8:45 AM
Subject: Re: 3 D plots



On Sat, Mar 17, 2012 at 11:13 PM, Doug Stewart <address@hidden> wrote:
did you get the M file that I sent?


On Sat, Mar 17, 2012 at 11:12 PM, asha g <address@hidden> wrote:
I will have to check this at work as the file does not open here. 
I did check those lines - the if statement- What could be wrong there ? 
Anyway let me check the code and get back.
Thanks so much
Asha 
 
 
 

if (deltaT*niter*tau)< 5
I = 0;
V(1)= (4/3)*V(2)-(1/3)*V(3)+(2/3)*(4*Ri*lambda*I*hd)*(10^3)/(pi*(d^2));% 2nd order formula
V(N) = (4/3)*V(N-1)-(1/3)*V(N-2);

%**************************************next line changed by Doug Stewart
elseif (   5== (deltaT*niter*tau) <= 55)
I = 4.8384*(10^-11);% amperes 
V(1)= (4/3)*V(2)-(1/3)*V(3)+(2/3)*(4*Ri*lambda*I*hd)*(10^3)/(pi*(d^2));% 2nd order formula
V(N)= (4/3)*V(N-1)-(1/3)*V(N-2);
endif 

 
[xx,zz]= meshgrid(x,z);
mesh(xx,zz,vvvv')



reply via email to

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