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 件)

コミュニティ

カテゴリ

ヘルプ センター および File ExchangeDynamic System Models についてさらに検索

質問済み:

2019 年 11 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by