Z Channel Question

Hello,

I would like to normalize a z channel to values between 0 and 1 to use as a regular matte in rgb or alpha channel. What is the best way to do this while maintaining the range that the z channel gives me? I have looked in the manual but can't find the specific answer to this question.

Thanks!

Catherine

http://www.highend3d.com/shake/tutorials/general/6.html

Thanks!