SOGO論壇

標題: 請會 matlab的大大幫我 [列印本頁]

作者: doiii    時間: 2010-9-27 21:43:57     標題: 請會 matlab的大大幫我

我想問一下 matlab 的反拉式轉換和拉式轉換的指令

F(s)=  1/ s^2+2s+1
反拉氏結果為何??

本身matlab不太行
請大大回復的時候詳細一點!! 謝謝
作者: huyoho2000    時間: 2010-9-27 23:12:47

拉氏轉換:laplace(F)
反拉式轉換:ilaplace(F)

直接執行

>>syms F S
>>F=1/(S^2+2*S+1)
>>ilaplace(F)

應該會得到:t*exp(-t)
作者: doiii    時間: 2010-9-27 23:36:59

大大 我剛複製一下你給的指令   好像有錯喔 變數好像有問題 =   =
作者: doiii    時間: 2010-9-27 23:41:52

sor 剛是我腦幹 !沒空格,可是答案為啥是t*exp(-t)   不是ASINWT+BCOSWT??  怎樣打指令他才會把a w b 的數字顯示出來 ??
作者: doiii    時間: 2010-9-27 23:47:53

sor 我又看錯了 我問錯題目了= = 原來我問大大ㄉ事 1/S*2+2s+1
作者: mike1207    時間: 2010-11-2 20:43:24     標題: 那位大大會MATLAB的,幫幫忙,感恩

OPTIMIZATION  METHODS  MID-TERM  EXAMINATION

1.將下列問題,列出其目標函數及限制條件

  a. Transportation problem ( minimize transportation cost)
    m plants, n warehouse
    s i  supply of  ith plant , i=1……..m

    d j demand of jth warehouse, j=1….n

    c ij cost of transportation i→j

    x ij number of unite to send i→j


b. Manufacturing (maximize profit)
    n products, m raw materials

    c  j.:profit of product j

    b i  :available units of material i

    a i j :#units of material  i  product j needs in order to be proced

    x j :amount product j produced

c. Scheduling (Goal: hire minimum number of nurses)
    Hospital wants to make weekly nightshift of its nurses

    d  j : demand for nurses each day, j =1,2…,7

    Every nurse works 5days in a row

    X j :#nurses starting their work on day  j




歡迎光臨 SOGO論壇 (https://oursogo.com/) Powered by OURSOGO.COM