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 Exchange에서 Get 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