SNR of an ideal N-bit ADC

			
				fprintf('N \t dB\n');
				x = 8;
				while x <= 24
					y = f_SNR_N(x);
					fprintf('%d \t %1.2fdB\n', x, y);
					x = x+2;
				end;
			
			
				function [ SNR ] = f_SNR_N(N)
				  SNR = 6.02*N + 1.76;
				end
			
		
			
				>>
				N 	 dB
				8 	 49.92dB
				10 	 61.96dB
				12 	 74.00dB
				14 	 86.04dB
				16 	 98.08dB
				18 	 110.12dB
				20 	 122.16dB
				22 	 134.20dB
				24 	 146.24dB
			
		
© 2018 Copyright. For individual use only. No liability is accepted for any consequences of using information on Testips.com.