what toolbox to include for regression

Answers (1)

Depends on what function you want to use. polyfit() is built in to Base MATLAB. But there are also other fitting/regressing functions in the Statistics and Machine Learning Toolbox, and the Curve Fitting Toolbox.

2 Comments

I want to execute regression function in grader. Even though I have included curve fitting and statistics and machine learning toolbox, it’s throwing an error.
What is the name of the function you are trying to use? What is the complete error message you see (all the red text)?

Sign in to comment.

Tags

Asked:

on 22 Apr 2020

Commented:

on 22 Apr 2020

Community Treasure Hunt

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

Start Hunting!