« 11 days | Main | SpamLookup rocks. »

April 13, 2005

Normalizing data points

I had a need to normalize some data points which I will be graphing. Took me a while to find the formula I was looking for to do this:

$normalized_point = ($point - $min) / ($max - $min);

Thank you, usenet!

Posted by ed at April 13, 2005 1:47 PM

Trackback Pings

TrackBack URL for this entry:
http://weblogs.litmusgreen.com/mt-tb.cgi/643

Comments

Post a comment




Type the characters you see in the picture above.


Remember Me?