Contents ...
udn網路城邦
台中機車借款24h 哪一間銀行貸款最快
2016/04/11 04:44
瀏覽26
迴響0
推薦0
引用0


標題:

請問matlab的高手們~~~~10點

發問:

誰能幫我說明一下列每一行的解釋 轉換單位 1000 km/hr=1/36 * 10^5 m/s 假設 h=20000 m (飛機飛行高度) >> h=20000; >> h1=[h:-1:0]; >> x=1/36*10^5*sqrt(2/98.1)*sqrt(20000-h1); >> plot(x,h1) >> xlabel('distance(m)'),ylabel('height(m)') 更新: sqrt試什麼一斯阿

最佳解答:

>> h=20000;? %令 h=20000>> h1=[h:-1:0];? %令 h1 為 起始值為 h 終值 0 每個值-1;就是 20000,19999,19998,...,0>> x=1/36*10^5*sqrt(2/98.1)*sqrt(20000-h1);? %將h1帶入公式計算x>> plot(x,h1)? %畫圖 x軸數值為x, y軸數值為h1>> xlabel('distance(m)'),ylabel('height(m)') %寫上x軸標籤 distance(m), 寫上y軸標籤 height(m)這樣能看懂嗎? 2006-01-04 14:32:31 補充: sqrt 是開根號 2006-01-04 14:32:43 補充: sqrt 是開根號

其他解答:9A6837D21046A34F

限會員,要發表迴響,請先登入