0
要了解如何與fzero工作()我想這個代碼:fzero:太多的輸出參數
function equation(x)
k=(96-x)/6;
end
然後:
x0=4;
x=fzero('equation',x0)
的錯誤是:
??? Error using ==> fzero at 307
FZERO cannot continue because user supplied function_handle ==> equation
failed with the error below.
Too many output arguments.
您的等式函數沒有任何返回輸出。 (不知道爲什麼錯誤說「太多」) – nkjt