NANSCALE
Name
nanscale
Purpose
Byte scales numbers so that non-finite values are zero, and finite
values map from 1 - 255. Useful for image stretching.
Category
Display utilities
Calling Sequence
stretch = nanacale(input)
Inputs
input: scalar or array of data
Outputs
stretch: The stretched data
Modification History
Written by: Chris Beaumont, December 2008