Re: ? 1={}, is there really any other interpretation?
- Posted by Andy Serpa <ac at oneh?rse?hy.com> Jul 17, 2007
- 697 views
Messed up one example. Getting the sequence indexes should be:
s = {1,10,3,4,30} indexes_of_elements_greater_than_5 = ilist(length(s)) * (s > 5) indexes_of_elements_greater_than_5 = filter(indexes_of_elements_greater_than_5,indexes_of_elements_greater_than_5)
Need the last line to filter out the zeros...