Draw a histogram which is one of 7 quality control tools by giving me matlab codes using following 12 pairs of data diameter = 0995 0995-0996 0996-0997 0997-0998 0998-0999 0999-1000 1000-1001 1001-100
diameter = [0.9945,0.9955,0.9965,0.9975,0.9985,0.9995,1.0005,1.0015,1.0025,1.0035,1.0045,1.0055]; frequency = [1 0 8 9 15 25 22 9 7 3 1 0]; histogram(diameter,frequency); xlabel('Diameter'); ylabel('Frequency'); title('Histogram of Diameter Distribution'); grid on;
原文地址: https://www.cveoy.top/t/topic/eGdu 著作权归作者所有。请勿转载和采集!