| 查看: 509 | 回复: 2 | ||||
18811406325新虫 (正式写手)
|
[求助]
MATLAB小白求助画图的一个简单问题已有1人参与
|
|
情况是这样的,小弟我要用MATLAB把一个周期360度内的波形图分成36段每段10度,然后求取每段的有效值,最后再将它画成柱状图,横坐标是段数纵坐标是有效值。 求取有效值的公式我是有的。 我是初学者,所以问题也不难。恳请大神们讲解一下思路还有用到的指令。 |
» 猜你喜欢
心脉受损
已经有3人回复
Bioresource Technology期刊,第一次返修的时候被退回好几次了
已经有8人回复
寻求一种能扛住强氧化性腐蚀性的容器密封件
已经有7人回复
到新单位后,换了新的研究方向,没有团队,持续积累2区以上论文,能申请到面上吗
已经有8人回复
申请2026年博士
已经有6人回复
请问哪里可以有青B申请的本子可以借鉴一下。
已经有5人回复
2025冷门绝学什么时候出结果
已经有7人回复
wurongjun
专家顾问 (职业作家)
-

专家经验: +831 - 数学EPI: 9
- 应助: 791 (博后)
- 贵宾: 0.308
- 金币: 24607.5
- 散金: 310
- 红花: 75
- 帖子: 3004
- 在线: 881.2小时
- 虫号: 1368482
- 注册: 2011-08-14
- 性别: GG
- 专业: 计算数学与科学工程计算
- 管辖: 数学
【答案】应助回帖
★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
18811406325: 金币+10, ★有帮助 2016-01-09 19:45:56
感谢参与,应助指数 +1
18811406325: 金币+10, ★有帮助 2016-01-09 19:45:56
|
>> help bar BAR Bar graph. BAR(X,Y) draws the columns of the M-by-N matrix Y as M groups of N vertical bars. The vector X must be monotonically increasing or decreasing. BAR(Y) uses the default value of X=1:M. For vector inputs, BAR(X,Y) or BAR(Y) draws LENGTH(Y) bars. The colors are set by the colormap. BAR(X,Y,WIDTH) or BAR(Y,WIDTH) specifies the width of the bars. Values of WIDTH > 1, produce overlapped bars. The default value is WIDTH=0.8 BAR(...,'grouped') produces the default vertical grouped bar chart. BAR(...,'stacked') produces a vertical stacked bar chart. BAR(...,LINESPEC) uses the line color specified (one of 'rgbymckw'). H = BAR(...) returns a vector of patch handles. Use SHADING FACETED to put edges on the bars. Use SHADING FLAT to turn them off. Examples: subplot(3,1,1), bar(rand(10,5),'stacked'), colormap(cool) subplot(3,1,2), bar(0:.25:1,rand(5),1) subplot(3,1,3), bar(rand(2,3),.75,'grouped') See also HIST, PLOT, BARH. Overloaded methods help fints/bar.m |

2楼2016-01-07 22:46:57
18811406325
新虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 380.5
- 红花: 3
- 沙发: 1
- 帖子: 369
- 在线: 125小时
- 虫号: 4269048
- 注册: 2015-12-05
- 性别: GG
- 专业: 工程热物理相关交叉领域
3楼2016-01-08 10:50:52













回复此楼