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

2 visualizaciones (últimos 30 días)
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 comentarios
gullnaz shahzadi
gullnaz shahzadi el 9 de Abr. de 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).

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 9 de Abr. de 2019

Más respuestas (0)

Categorías

Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by