Hi,
Matlab does not give permission for jpg images to be 4 bit. You can use imwrite(image,'name','BitDepth','4') command for .png , .gif etc. type. But if u read your saved image Matlab automatically assigns uint8 class to your gray scale image. Instead of this you can use logarithmic or power-law transformation to your 8 bit image to compress values within 4 bit range.