How to do non-linear regression without a model?

1 次查看(过去 30 天)
Hi. I have 5 input variables. 1 is a categorical variable, but the others are numeric. I have one response variable, and I want to do a non-linear regression to find the equation of best fit in Matlab. How do I start? I have no idea what the model of the equation would look like, so I'm not sure if I can use fitnlm().
  1 个评论
Gideon Maasz
Gideon Maasz 2018-7-21
I am sitting with exactly the same issue. I have 7 predictor variables and 1 response variable in 2 arrays respectively. No idea what the model should look like or how to approach this. I did play around with the fitnlm function, but am getting stuck where I have to supply a 'modelfunc' as I don't have 1. I have all toolboxes so that won't be an issue.

请先登录,再进行评论。

回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by