least squar matlab code

approximate below function by least square in matlab.
y=0.5u^2+5u+2
a) the training data is equally disturbuted in [0,10]
b) no training data is available in the interval (3,7)
plot function y based u
and the error bar
thanks:)

回答(0 个)

社区

更多回答在  Power Electronics Control

类别

在 帮助中心 和 File Exchange 中查找有关 System Identification Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by