[Top][All Lists]

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

put to 0

From: Paolo Ariano
Subject: put to 0
Date: 18 Dec 2002 13:14:09 +0100

hi *,
always playing with kangaroo processes :) some days ago Laurent (thanks)
help me to find 0 in a vector but now i've to define a treshold and put
to zero all values under the treshold:

     ^^^^^^ ^^^^^
threshold = 0.01

new a=[1.0000,0.0000,0.0000,3.0000,6.0000,0.4000,0.2000]

which is the start point, i've to write an if< or there is a more
elegant way to do this ?

Paolo Ariano                                  
Neuroscience PhD Student                      
DBAU & INFM Turin (Italy)                     

L'universita' segue un'organizzazione dinamica  --Luca M.    

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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