Azzera filtri
Azzera filtri

How to fit 5 dimensional independent variables with respect to 2 dimensional dependent variables

2 visualizzazioni (ultimi 30 giorni)
Hi, I am trying to fit a polynomial regression on my problem,
X = [x1,x2,x3,x4,x5] have 300 samples
Y = [y1,...,y32], 300 samples.
I can fit x1 and y1 by polyfit(x1,y1,degree of polynomial);
but i want to consider the whole set of input and output.
is there any toolbox or example code that can work for my problem.
  2 Commenti
gullnaz shahzadi
gullnaz shahzadi il 9 Apr 2019
if i want to fit the data as, x = [x1,x2,x3,x4,x5] and y = y1, i tried to use polyfitn, but that is not in my Matlab2016, how can i use this toolbox for my problem?
x and y are 300 samples.(vectors).

Accedi per commentare.

Risposta accettata

Matt J
Matt J il 9 Apr 2019

Più risposte (0)

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by