Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6512
| From | "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: x and y plot finding maximum |
| Date | 2011-11-18 12:50 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ja5kaj$7os$1@smc.vnet.net> (permalink) |
| References | <ja5f65$6a7$1@smc.vnet.net> |
On Fri, 18 Nov 2011 11:22:45 -0000, florian <flott32@hotmail.com> wrote:
> It seems like a fairly simple job but somehow i cannot find a solution.
>
> I have a list of coordinates lista={{3,2},{4,8},...}
>
> What i would like to do is to find the max/min y and x coordinates.
>
> Help would be really appreciated!! Thanks!!!
>
In[1] :=
lista = RandomInteger[{1, 10}, {5, 2}]
Out[1] =
{{8, 3}, {9, 6}, {8, 3}, {2, 8}, {7, 4}}
In[2] :=
{maxx, maxy} = Max /@ Transpose[lista]
Out[2] =
{9, 8}
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
x and y plot finding maximum florian <flott32@hotmail.com> - 2011-11-18 11:22 +0000 Re: x and y plot finding maximum "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-11-18 12:50 +0000 Re: x and y plot finding maximum "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-11-18 12:53 +0000 Integrating a rotated function inbetween two circles "Dr. Peter Klamser" <klamser@googlemail.com> - 2011-11-19 11:56 +0000
csiph-web