For Programmers: Free Programming Magazines  


Home > Archive > Matlab > May 2005 > Re: Fast method to find entries above a threshold









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Fast method to find entries above a threshold
Jérôme

2005-05-31, 9:00 pm

Hi,

one solution :

a=rand(5)
b=(a>0.5).*a

Jérôme
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com