getting an equation from multiple variables

5 次查看(过去 30 天)
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

请先登录,再进行评论。

回答(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 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by