scale min max to 0 1

Code Example - scale min max to 0 1

                
                        (x-min(x))/(max(x)-min(x))