getting an equation from multiple variables

5 vues (au cours des 30 derniers jours)
Essam Ali
Essam Ali le 2 Fév 2021
Commenté : Walter Roberson le 3 Fév 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 commentaires
Essam Ali
Essam Ali le 3 Fév 2021
Polyfit function does this but in one variable
Walter Roberson
Walter Roberson le 3 Fév 2021
file exchange has polyfitn

Connectez-vous pour commenter.

Réponses (1)

madhan ravi
madhan ravi le 2 Fév 2021
Modifié(e) : madhan ravi le 2 Fév 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 = 
  1 commentaire
Essam Ali
Essam Ali le 3 Fév 2021
no these are two differenr equations.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by