matlab画直方图的histogram()函数

matlab画直方图有histogram()函数,hist()以及bar()函数,以下是histogram()函数效果 clc,clear; x1=2pirand(1,2000); x2=normrnd(0,4,[1 2000]); x3=raylrnd(2,1,2000); subplot(3,1,1); histogram(x1); subplot(3,1,2); histogram(x2);
相关文章
相关标签/搜索