I’ve attached task and attempt. I’m not sure how to make it work/ do the fitting routine.

1 回表示 (過去 30 日間)
Jambalya
Jambalya 2022 年 10 月 21 日
回答済み: Alex Hanes 2022 年 10 月 24 日
i need to know how to do the fitting routine and the mistake in my code.

回答 (1 件)

Alex Hanes
Alex Hanes 2022 年 10 月 24 日
Checking out MATLAB’s documentation for Problem-Based solvers would be a helpful starting point since your goal is to find the minimum of a symbolic function (e.g., the difference of your two functions).
Since this looks like a homework problem, it’s probably best that you use the symbolic toolbox to find the values where your function extrema occur by setting it’s derivative equal to zero.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by