gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-23/Ex2326.m
%例23-26 频数直方图 x=randn(1000,1); y=randn(1000,3); subplot(3,1,1) hist(x) subplot(3,1,2) hist(x,50) subplot(3,1,3) hist(y,25)