【MATLAB】如何使用MATLAB绘制平滑曲线

标签:
股票 |
分类: MATLAB |
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.b=bar([y11',y12',y13']);%
11.grid
12.set(gca,
13.legend('156C','164C','172C');
14.xlabel('Angle:degree');
15.ylabel('Percentage:%');
16.title('Angle');
17.hold
18.
19.%%
20.result1=polyfit(x,y11,3);
21.plot(x,polyval(result1,[1:9]));
22.
23.%%
24.values1
25.plot(values1(1,:),values1(2,:),'b','LineWidth',2);
1.
2.
3.