getting an equation from multiple variables

조회 수: 6 (최근 30일)
Essam Ali
Essam Ali 2021년 2월 2일
댓글: Walter Roberson 2021년 2월 3일
I need to get the equation of a multiple variables. I have the data a matrix of 5 coulomns; one coloumn for the output and the others for the variables.
Did anyone use a function to get the equation parameters?
  댓글 수: 9
Essam Ali
Essam Ali 2021년 2월 3일
Polyfit function does this but in one variable
Walter Roberson
Walter Roberson 2021년 2월 3일
file exchange has polyfitn

댓글을 달려면 로그인하십시오.

답변 (1개)

madhan ravi
madhan ravi 2021년 2월 2일
편집: madhan ravi 2021년 2월 2일
MAtrix = [3, 6, 1, 3, 8; 3, 6, 1, 3, 9];
syms x y z w Out
Out * MAtrix(:, 1) == (MAtrix(:, 2 : end) * [x, y, z, w].') % something like this?
ans = 

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by