Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'iteration through list of points' topicStudent Support Forum > General > Archives > "iteration through list of points"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Henry Lamb
10/16/04 11:50pm

Use the Map operator.
For example,

points = {{234, 54}, {252, 123}, {141, 544}, {576, 242}};
Map[Tan[#[[1]]/#[[2]]]&, points] // N;

or the short form

Tan[#[[1]]/#[[2]]]& /@ points // N




URL: ,

Subject (listing for 'iteration through list of points')
Author Date Posted
iteration through list of points Aaron 09/29/04 1:16pm
Re: iteration through list of points Ben Kovitz 10/16/04 11:39pm
Re: iteration through list of points Henry Lamb 10/16/04 11:50pm
< Previous CommentHelp | Reply To Comment | Reply To Topic