Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Nearest number cd' topicStudent Support Forum > General > Archives > "Nearest number cd"

Next Comment >Help | Reply To Topic
Author Comment/Response
01/19/12 08:05am

[continuation of thread. - Forum Moderator]


And for this set:
aa = {{1, 2},{2, -7},{3,4.5},{4,6},{5.1, 1},{5.3,7}};

I want to find the nearest number to 5 but less or equal than 5 for 'aa[[All,1]]'

In this case, the answer should be:


URL: ,

Subject (listing for 'Nearest number cd')
Author Date Posted
Nearest number cd Ralph10 01/19/12 08:05am
Re: Nearest number cd Bill Simpson 01/19/12 1:14pm
Re: Nearest number cd Ryan Hansen 01/19/12 1:37pm
Re: Nearest number cd Nasser M. Ab... 01/19/12 8:22pm
Next Comment >Help | Reply To Topic