Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
機能があります
function [result] = mleGARCH1(r,a0,a1,b1,mu)
これは、入力となるr以外のすべての変数に関して最小化したいものです。
fminsearchそれを取得するには、関数をどのようにフォーマットする必要がありますか?
fminsearch
匿名関数を試してください:
[xmin result] = fminsearch(@(x) mleGARCH1(r,x(1),x(2),x(3),x(4)), [ initial values ]);