Perhaps you mean:
c = [123 345 78]
cc = mod(c, 2^8)
But this look such obvious, that I'm afraid you want something else. So please add more information by editing the question, not as answer or comment.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!