getting an equation from multiple variables

2 views (last 30 days)
Essam Ali
Essam Ali on 2 Feb 2021
Commented: Walter Roberson on 3 Feb 2021
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 Comments

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 2 Feb 2021
Edited: madhan ravi on 2 Feb 2021
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 = 

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by