Download this file

2 lines (2 with data), 52 Bytes

1
2
function [i]=normal(i)
i=(i-min(i(:)))./range(i(:));