help-octave
[Top][All Lists]
Advanced

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

Re: 3 D plots


From: Doug Stewart
Subject: Re: 3 D plots
Date: Sat, 17 Mar 2012 23:15:00 -0400



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]