在命令窗輸入如下內(nèi)容就得到圖形了:
[t,x]=ode45( godhua ,[0,10],[0,0,0,1])
subPlot(131) Plot(t,x(:,4)) xlabel( t ) ylabel( y )
subPlot(132) Plot(t,x(:,1)) xlabel( t ) ylabel( v )
subPlot(133) Plot(t,x(:,2)) xlabel( t ) ylabel( \theta )
標(biāo)簽:
subPlot
godhua
xlabel
Plot
上傳時(shí)間:
2013-12-25
上傳用戶:15736969615