x=(1:10)'
y=roundn(2*x+7*rand(size(x)),-1)

a*x=y

Estimate a using inverse matrix calculation. This is principle of linear regression.

Solution Stats

621 Solutions

89 Solvers

Last Solution submitted on Jan 02, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers89

Suggested Problems

More from this Author27

Community Treasure Hunt

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

Start Hunting!