Re: [問題] fminsearch與optimization toolbox已回收

看板MATLAB作者 (神無月 孝臣)時間16年前 (2009/04/06 14:32), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串2/2 (看更多)
※ 引述《buttermilk (脫脂牛奶)》之銘言: : 用fminsearch求函數的最小值時 都要輸入起始值 : 聽說不用輸入起始值的話 就要用optimization toolbox的指令 : 請問是optimization toolbox中的哪一個指令可以辦到此點? 最小化問題有這幾個可以用(7.6 R2008a) x = bintprog(f) 不需要初始值,但是x限定0和1 x = fgoalattain(fun,x0,goal,weight) 須要初始值 x = fminbnd(fun,x1,x2) 不需要初始值,但是要指定最小值範圍區間 x = fmincon(fun,x0,A,b) 須要初始值 x = fminimax(fun,x0) 須要初始值 x = fminsearch(fun,x0) 須要初始值 x = fminunc(fun,x0) 須要初始值 x = fseminf(fun,x0,ntheta,seminfcon) 須要初始值 x = ktrlink(fun,x0) 須要初始值 x = linprog(f,A,b) 不需要初始值,但是只能在目標函數與BC皆為一次線性時才能用 x = quadprog(H,f,A,b) 不需要初始值,但是只能在目標函數為二次式與BC為一次線性時才能使用 -- Deserves death! I daresay he does. Many that live deserve death. And some die that deserve life. Can you give that to them? Then be not too eager to deal out death in the name of justice, fearing for your own safty. Even the wise cannot see all ends. Gandalf to Frodo -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.120.25.235

04/06 14:36, , 1F
哇...這篇要m
04/06 14:36, 1F

04/06 14:40, , 2F
這只是把help內容照抄而已 囧
04/06 14:40, 2F

04/06 16:53, , 3F
問題是一堆人不會看help啊~~~
04/06 16:53, 3F
文章代碼(AID): #19sQ8Gc7 (MATLAB)
文章代碼(AID): #19sQ8Gc7 (MATLAB)