Color matrix and color channel

What is color matrix?
I want to render in alpha channel of the frame buffer an object textured with RGBA texture, but the I want to use the other channel (not alpha) from this texture.
Is this posible.
If someone knows some good tutorial about color channel and color matrix it will be fantastic.