Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Plot multivatiate regression model

2 visualizaciones (últimos 30 días)
Sarah Yun
Sarah Yun el 31 de Dic. de 2019
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello,
I have a simple multivariate linear regression model
3 variables
y variable is profit
2 x-variables, sales and refunds
% Group x variables
G = [sales, profit]
model = fitlm(G, profit);
plot(G, profit)
% The plot is not working.
Any ideas? Thank you.
  1 comentario
Image Analyst
Image Analyst el 31 de Dic. de 2019
Editada: Image Analyst el 31 de Dic. de 2019
Can you attach your data for y, sales, and refunds in a .mat file. Make it easy for people to help you, not hard. Thanks. And what sort of model do you want?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by