Maximum value

• To: mathgroup at yoda.physics.unc.edu
• Subject: Maximum value
• From: "Schaeffer Dennis" <schaeffer_dennis at macmail1.rtsg.mot.com>
• Date: 7 Oct 1993 17:04:10 -0500

```To Math Group
I have data in the form of the following table. This represents two planes of z
values in a 3D space. I would like to form one plane consisting of the maximum
value from each plane.

In[155]:=
TableForm[zz=Table[Random[],{2},{3},{3}]]
Out[155]//TableForm=
0.385028   0.396816   0.78796
0.396616   0.875504   0.915426
0.435056   0.704659   0.764165

0.941824   0.117716   0.948508
0.533694   0.812695   0.659503
0.79622    0.710284   0.752177

I would like to obtain a single plane of maximum values as follows using the
data from above.
0.941824   0.396816   0.948508
0.533694   0.875504   0.915426
0.79622    0.710284   0.764165

In my actual problem the space would be larger and consist of many more planes.
This seems like it should be very simple thing to do in Mathematica, but I have
not been able to come up with an acceptable solution.

Dennis Schaeffer
Internet: schaeffer_dennis at macmail1.rtsg.mot.com

```

• Prev by Date: Several Functions on the same graph
• Next by Date: problem with init.m in mma 2.2 on RS/6000
• Previous by thread: Re: Several Functions on the same graph
• Next by thread: Re: Maximum value