在matlab中怎么画出直方图,比如:X Y1.4000000e+001 6.4700991e-0011.8000000e+001 6.7393994e+0002.2000000e+001 9.7279110e+0002.8000000e+001 1.6762394e+0013.6000000e+001 1.8311653e+0014.5000000e+001 2.4793095e+0015.6000000e+001 2.7908800e+0017.1
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/27 18:30:33
在matlab中怎么画出直方图,比如:X Y1.4000000e+001 6.4700991e-0011.8000000e+001 6.7393994e+0002.2000000e+001 9.7279110e+0002.8000000e+001 1.6762394e+0013.6000000e+001 1.8311653e+0014.5000000e+001 2.4793095e+0015.6000000e+001 2.7908800e+0017.1
在matlab中怎么画出直方图,比如:
X Y
1.4000000e+001 6.4700991e-001
1.8000000e+001 6.7393994e+000
2.2000000e+001 9.7279110e+000
2.8000000e+001 1.6762394e+001
3.6000000e+001 1.8311653e+001
4.5000000e+001 2.4793095e+001
5.6000000e+001 2.7908800e+001
7.1000000e+001 3.1935408e+001
9.0000000e+001 3.7219437e+001
1.1200000e+002 3.8826355e+001
1.4000000e+002 4.4059708e+001
1.8000000e+002 5.3703533e+001
2.2400000e+002 5.5479836e+001
2.8000000e+002 6.6452583e+001
3.5500000e+002 6.8436272e+001
4.5000000e+002 7.2363632e+001
5.6000000e+002 7.1903923e+001
7.1000000e+002 7.2071777e+001
9.0000000e+002 7.1247673e+001
1.1200000e+003 7.0452637e+001
1.4000000e+003 6.9245331e+001
1.8000000e+003 7.1232765e+001
2.2400000e+003 6.9667542e+001
2.8000000e+003 6.9629974e+001
3.5500000e+003 6.6360939e+001
4.5000000e+003 6.2588394e+001
5.6000000e+003 5.7530972e+001
)
在matlab中怎么画出直方图,比如:X Y1.4000000e+001 6.4700991e-0011.8000000e+001 6.7393994e+0002.2000000e+001 9.7279110e+0002.8000000e+001 1.6762394e+0013.6000000e+001 1.8311653e+0014.5000000e+001 2.4793095e+0015.6000000e+001 2.7908800e+0017.1
hist 和bar都可以
函数的输入参数和返回值可以用
help hist(或者bar) 语句查询帮助文档.
学习matlab一定要学会看帮助哦(唯一遗憾的是,目前只有英文帮助).