jemma Messages 35 Reaction score 0 Thread starter May 20, 2010 #1 After using NSolve, I have a list of numbers but I only want mathematica to print the ones which are real numbers between 0 and 1 (inclusive). How do I do that? Thanks!
After using NSolve, I have a list of numbers but I only want mathematica to print the ones which are real numbers between 0 and 1 (inclusive). How do I do that? Thanks!
CompuChip Science Advisor Homework Helper Messages 4,305 Reaction score 49 May 21, 2010 #2 You can simply use something like Code: Select[%, (0 <= # <= 1) &] where % stands for the list you want to filter.
You can simply use something like Code: Select[%, (0 <= # <= 1) &] where % stands for the list you want to filter.