在命令窗輸入如下內容就得到圖形了:
[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 )
標簽:
subplot
godhua
xlabel
plot
上傳時間:
2013-12-25
上傳用戶:15736969615
定點十進制數轉為二進制浮點操作數
入口:定點十進制整數在 R1,R2,R3中,其中R1為高字節
[如1: R1=00H,R2=00H,R3=01H]
定點十進制小數在 R4,R5,R6,R7中,其中R4為高位字
[如0.1: R4=10H,R5=00H,R6=00H,R7=00H]
數符為7BH位,0表正,1表負
出口: R4,R5,R6,R7.其中R4為階碼,R5,R6,R7為尾數
標簽:
00
定點
十進制
01
上傳時間:
2014-12-22
上傳用戶:GavinNeko