estimate the parameters of an equation

2 ビュー (過去 30 日間)
Nikolas Spiliopoulos
Nikolas Spiliopoulos 2017 年 3 月 20 日
回答済み: Steven Lord 2017 年 3 月 20 日
Hi there,
I have a question:
I have an equation like this: 45=a*5^b;
is there any way to estimate a and b only from this equation?
thanks
  1 件のコメント
Adam
Adam 2017 年 3 月 20 日
At a glance, without putting much thought into it I'd imagine there are an infinite number of solutions unless you are restricting yourself to integers only.

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

採用された回答

Star Strider
Star Strider 2017 年 3 月 20 日
No.
You are estimating 2 parameters with 1 (x,y) data pair. There is no unique solution.

その他の回答 (1 件)

Steven Lord
Steven Lord 2017 年 3 月 20 日
Borrowing a problem from Cleve: "I'm thinking of two numbers. Their average is 3. What are the numbers?" I just wrote down my answer; I would be very surprised if you gave the same answer I wrote down.
Like Cleve's question, your question has infinitely many solutions. But if you want the solution for a in terms of b:
syms a b
f = 45 == a*5^b;
asol = solve(f, a)
check = isAlways(subs(f, a, asol))

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by