finding a function with 4 variables

17 ビュー (過去 30 日間)
esti liberman
esti liberman 2022 年 10 月 11 日
編集済み: Sam Chak 2022 年 10 月 11 日
Hello, for a project im doing I measured the hight of rising dough as im playing with 3 variables (flour sugar yeast). and so I ended up having 4 vectors.
how can I fit a function to this data? (i.e hegiht =f(sugar,yeast,flour))
  4 件のコメント
Sam Chak
Sam Chak 2022 年 10 月 11 日
Since you have collected the data, maybe the batch least squares estimation?
You can find mre info here:

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

採用された回答

Torsten
Torsten 2022 年 10 月 11 日
I suggest you start with
height = a + b * sugar + c * yeast + d * flour
If height,sugar, yeast and flour are column vectors of equal length, this would give the code
sol = [ones(numel(height),1),sugar,yeast,flour]\height
a = sol(1)
b = sol(2)
c = sol(3)
d = sol(4)
for the regression coefficients a, b, c and d.
  5 件のコメント
esti liberman
esti liberman 2022 年 10 月 11 日
Thank you!
Sam Chak
Sam Chak 2022 年 10 月 11 日
編集済み: Sam Chak 2022 年 10 月 11 日
I remember making dough.
Did you miss Salt and Warm Water as parts of the ingredients?
The temperature of the water is also sort of important. If it is too hot, then it will kill the yeast.
I think yeast is a kind of fungus.
By the way, does the baker's mixing skill influence the rising height of the dough?

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTiming and presenting 2D and 3D stimuli についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by