I wonder if pt1 .< x .< pt2 should be parsed into .<(pt1, x, pt2) or (pt1 
.< x) & (x .< pt2) to allow chaining of dotted comparisons just like 
undotted ones?

On Tuesday, 15 April 2014 12:19:22 UTC+2, Andreas Noack Jensen wrote:
>
> Have you tried find? :-)
>
> find(pt1 .< x .< pt2)
>
>
> 2014-04-15 11:48 GMT+02:00 RecentConvert <[email protected] <javascript:>>:
>
>> I have a 10 Hz data set that needs to be averaged down to 1 Hz and I'd 
>> like to do that by finding the 10 Hz data between two 1 Hz data points and 
>> then averaging it.
>>
>> How do I find that data? This is quite simple in Matlab.
>>
>> f = find(x >= pt1 && x < pt2)
>>
>>
>> I have no found anything similar in Julia.
>>
>
>
>
> -- 
> Med venlig hilsen
>
> Andreas Noack Jensen
>  

Reply via email to