# Square approximation with a second degree polynomial, function determine.

3 ビュー (過去 30 日間)
Daniel Gawlinski 2021 年 1 月 25 日
コメント済み: Daniel Gawlinski 2021 年 1 月 25 日
Good morning, please explain how to do this in matlab? Thank you in advance for your help.
For the data in the table:
make the mean-square approximation using a second degree polynomial.
Determine the parameters of the function , which in the sense of least squares approximates these data.
Which of these approximating functions would you choose and why?

サインインしてコメントする。

### 採用された回答

Birdman 2021 年 1 月 25 日

Simply, you need to use Curve Fitting app for this purpose. Define your Xi and f(Xi) vectors in MATLAB workspace. Then open Curve Fitting app to use the variables that you define. Then, select Custom Equation option for fitting a curve and enter the equation of yours into there. You should get a perfect curve with specified parameters. I did on my side. I don't paste the answer because I want you to do and learn.
The reason for selection and exponential function is the dataset exhibits a normal distribution behavior.
##### 6 件のコメント4 件の古いコメントを表示4 件の古いコメントを非表示
Daniel Gawlinski 2021 年 1 月 25 日
can you also explain me how to insert this values? Sorry for my questions but I'm really just learning to use matlab.
Daniel Gawlinski 2021 年 1 月 25 日
I am a frontend specialist. But unfortunately in postgraduate studies I got a task that I have to do in matlab. And matlab is new to me. The most important thing for me is to complete this quest, so thank you for your help.

サインインしてコメントする。

### カテゴリ

Help Center および File ExchangeNumber Theory についてさらに検索

### Community Treasure Hunt

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

Start Hunting!

Translated by