ribitol-5-phosphate 2-dehydrogenase [NAD(P)+] activity
ribitol-5-phosphate 2-dehydrogenase [nad(p)+] activity
Catalysis of the reaction: D-ribitol 5-phosphate + NAD(P)+ = D-ribulose 5-phosphate + NAD(P)H + H+.