MATLAB: I want to apply DPCM to an image

dpcmpixels

i want to apply DPCM coding to an image or pixels. plz tell me the code i am a learner.
[20 30 20 30 20
30 60 70 90 40
40 60 50 60 70
30 50 60 70 50
80 50 40 30 20]