least squar matlab code

6 次查看(过去 30 天)
Nadia Davoudi
Nadia Davoudi 2019-11-12
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

类别

Help CenterFile Exchange 中查找有关 Dynamic System Models 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by