1 2 3 4 5 6 7 8
//example 10.6(a)// clc //clears the screen// clear //clears all variables// q=5000/(2^8-1); //quantiztion error// disp(q,'quantization error (mV) =')