I think you are confusing the word matrix, it has two meanings here:-
- the physical layout of LEDs into a grid.
- the way a bunch of LEDs is wired up involving multiplexing to drive them.
I am not sure what one you want. Your comment about a bunch of bits implies it is 1)
In which case look at the shiftPWM libarie and use a bunch of shift registers.