MATLAB - Solve for x --> Explicit solution cannot be found.

2 次查看(过去 30 天)
Hi,
I need to find "x", from the following equation:
a^2/E = d*g*x^(2*b) + f*g*x^b + d*h*x^(c+b) + f*h*x^c
Absolutely all parameters are known except "x". The powers c and b are known as well, but they have the following values:
b = -0.9280
c = -0.5596
I can give the other values as well, but I don't believe they are relevant... If you want to try a code just make them equal to 5,6,7,8 and etc...
I already tried with:
sym x
y = solve('equation',x)
but it gives me:
Explicit solution cannot be found.
Cheers!

采纳的回答

Andrei Bobrov
Andrei Bobrov 2013-6-3
编辑:Andrei Bobrov 2013-6-3
b = -0.9280;
c = -0.5596;
const = num2cell(1:6);
[a,d,E,f,g,h] = const{:};
syms x
out = solve(d*g*x^(2*b) + f*g*x^b + d*h*x^(c+b) + f*h*x^c - a^2/E,x)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by