matlab plot a in the top half of a figure and b in the bottom half,and set title,axis.\x05a=[ 3.2 4.1 5.0 5.6]\x05b = [2.5 4.0 3.35 4.9]
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 03:11:04
xQJ@wK
kڤFHa6dCz z()<ԋH_4_IK-xa̾fca8`pC
0 @eQ-0ΙHH1]QGnlZ6mXpl`-qNrN=˰,N[3cGj![;fuYTYz^o_YzLWA舸z,f:FQTŧZÙB(8!2B&21Ҏ(I#t-H|B#]W+%TW*]۶u@JRӓf+kf
matlab plot a in the top half of a figure and b in the bottom half,and set title,axis.\x05a=[ 3.2 4.1 5.0 5.6]\x05b = [2.5 4.0 3.35 4.9]
matlab
plot a in the top half of a figure and b in the bottom half,and set title,axis.
\x05a=[ 3.2 4.1 5.0 5.6]
\x05b = [2.5 4.0 3.35 4.9]
matlab plot a in the top half of a figure and b in the bottom half,and set title,axis.\x05a=[ 3.2 4.1 5.0 5.6]\x05b = [2.5 4.0 3.35 4.9]
一个figure画两个图上面是a,下面的是b的并设置标题,坐标轴
a=[ 3.2 4.1 5.0 5.6];
b = [2.5 4.0 3.35 4.9];
subplot(2,1,1)
plot(a,'-o');
xlabel('number')
ylabel('value of a')
title('a')
subplot(2,1,2)
plot(b,'-o')
title('b')
xlabel('number')
ylabel('value of b')