Grid normalisation

I want to normalise the existing values in grid to 0-1
i use the equation in grid math:
G0 = (G1 - min(G1)) / (max(G1) - min(G1))

I also tried this

G0 = (G1 - min(G1, G1)) / (max(G1, G1) - min(G1, G1))
But both do not work.
please advice how to write the equation in grid math.

Answers

  • SeanWalker
    SeanWalker Posts: 31 Calcite Rank Badge

    I think it should be

    G0 = (G1 - G1.min)/(G1.max - G1.min)

  • it does not work.
    its asking me to assign grids for g1.min and g1.max

  • SeanWalker
    SeanWalker Posts: 31 Calcite Rank Badge

    Interesting. I would report it as a bug to support.

  • i guess i understand you - you mean insert exact values for min and max?
    i want grid math to insert these values automatically from grid or this is not possible?