Saving

asha g dend_15 at yahoo.com
Wed Dec 5 01:41:32 CST 2007


-
> My question is : 
> I am injecting current at point N/5 for a certain
> duration. I would like to see how the voltage
> changes
> with time evolution and get the values to store as a
> vector for point N/5. Right now it only stores the
> last value of V at iteration when i = n. 
> I hope this is clear.
> Thanks
> Asha 
> --- Francesco Potorti` <Potorti at isti.cnr.it> wrote:
> 
> > >for i = 1 : n
> > >V(i,j) = V(i,j) + I;
> > >end 
> > 
> > I do not unserstand your question, but the above
> > should be rewritten,
> > for speed and clarity, like this:
> > 
> > V(1:n,j) += I;
> > 
> > -- 
> > Francesco Potortì (ricercatore)        Voice: +39
> > 050 315 3058 (op.2111)
> > ISTI - Area della ricerca CNR          Fax:   +39
> > 050 315 2040
> > via G. Moruzzi 1, I-56124 Pisa         Email:
> > Potorti at isti.cnr.it
> > Web: http://fly.isti.cnr.it/           Key:  
> > fly.isti.cnr.it/public.key
> > 
> 
> 
>  
>    
>    
>    
>   Goals too clearly defined can become blinkers. 
>   Mary Catherine Bateson 
> 
> 
> 
>      
>
____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> 


 
   
   
   
  Goals too clearly defined can become blinkers. 
  Mary Catherine Bateson 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the Help-octave mailing list