Mathematica Asked by BumbaS on December 4, 2020
I have a set of data points, lets say {x_i,y_i,A_i}. I want to find the Minimum and Maximum value of A_i from a ListDensityPlot in Mathematica. Along with the corresponding x_i & y_i values.
Use Max
and Min
:
f[x_] := x^2 + y^2
data = Table[{x, y, f[x]}, {x, -5, 5, .1}, {y, -5, 5, .1}]
datamax = Max[Map[#[[3]] &, Flatten[data, 1]]]
datamin = Min[Map[#[[3]] &, Flatten[data, 1]]]
Answered by Rupesh on December 4, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP