matrix threshold calculation

Michael Creel michael.creel at uab.es
Tue Apr 28 07:34:10 CDT 2009


A note, the quantile function is not in Octave 3.0.1, but it is in 3.1.55. I
copied it (and __quantile__.m into my working copy of 3.0.1, and it works
like a charm. Very nice how a menu of methods is available. Many thanks to
the authors.
Michael


Francesco Potorti`-2 wrote:
> 
>>I want to calculate the threshold value of a matrix. What i want is to
>>find a value that is over the 95% percentages of the matrix values. Any
>>idea how can i calculate this value via octave? 
> 
> A = rand (10, 10);
> t = quantile (A(:), 0.95)
> 
> -- 
> 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
> (entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

-- 
View this message in context: http://www.nabble.com/matrix-threshold-calculation-tp23255533p23276162.html
Sent from the Octave - General mailing list archive at Nabble.com.




More information about the Help-octave mailing list