Image Sampling And Quantization Matlab