精華區beta MATLAB 關於我們 聯絡資訊
※ 引述《tangyuli (57881)》之銘言: : 請問對於 X^2 + X = 1 : 這樣子的問題,Matlab有沒有什麼功能可以直接解答 : 或是該如何寫這樣的 X 解? p=[1 1 -1] r=roots(p) = -1.6180 , 0.6180 ROOTS Find polynomial roots. ROOTS(C) computes the roots of the polynomial whose coefficients are the elements of the vector C. If C has N+1 components, the polynomial is C(1)*X^N + ... + C(N)*X + C(N+1). -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.104.34.227