Hi Matlab experts I need to solve a system of linear equations nut the problem is far beyond my knowledge and I hope somebody here can help me to solve it.
So here is the problem: I have 20 integer for both x1,x2,x3,x4 and y(fx5)
ax1+bx2+cx3+dx4+e=y(fx5)
i know all x1,x2,x3,x4 and y(fx5) values
how can i calculate a,b,c,d and e values my using matlab codes?

回答 (1 件)

Star Strider
Star Strider 2021 年 3 月 29 日

0 投票

There are several options, one being mldivide,\ and another being polyfit (and polyval). There are others as well.

カテゴリ

ヘルプ センター および File Exchange で Mathematics についてさらに検索

質問済み:

2021 年 3 月 29 日

回答済み:

2021 年 3 月 29 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by