- #1
- 970
- 670
This works:
But why doesn't this work? :-
Code:
a=0.4
Select[ list, #[[2]] > a-0.025 && #[[2]] < a+0.025 & ]
{{401803.,0.42485,3.33299,0.776904,0.277985},{402066.,0.40333,9.23462,0.381478,0.397121},{402872.,0.41899,3.47237,0.742789,0.27385}}
But why doesn't this work? :-
Code:
Select[ list, #[[2]] > b - 0.025 && #[[2]] < b + 0.025 & ] /. b -> 0.4
{}