n-dimensional curve fitting

I have a series of 'n' linear equation of 'm' variables, where n > m. with best curve fitting or any other techniques how will i calculate/get 'm' coffiecients of the variables?

1 件のコメント

ashwin
ashwin 2013 年 2 月 18 日
For example aX1+bY1=W1 aX2+bY2=W2 aX3+bY3=W3 this is a system of linear equations of 2 varaiables 'a'&'b' with given 3 equations.

サインインしてコメントする。

回答 (1 件)

Matt J
Matt J 2013 年 2 月 18 日
編集済み: Matt J 2013 年 2 月 18 日

0 投票

If your system of linear equations is A*x=b, you can solve as x=A\b

2 件のコメント

ashwin
ashwin 2013 年 2 月 18 日
i have already said its a system of 'm' variables, not only one (x)
Matt J
Matt J 2013 年 2 月 18 日
編集済み: Matt J 2013 年 2 月 18 日
My answer does apply in n dimensions (A is an n x m matrix, b is an nx1 vector). Try it.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGet Started with Curve Fitting Toolbox についてさらに検索

質問済み:

2013 年 2 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by