MATLAB怎么输出一幅图的直方图?用哪个函数?

来源:学生学帮网 编辑:学帮网 时间:2024/05/19 08:38:33

MATLAB怎么输出一幅图的直方图?用哪个函数?

>>x = -5:0.1:5;
>>y = randn(1000,1);
>>hist(y,x)