필터 지우기
필터 지우기

I would like to get the specific number

조회 수: 1 (최근 30일)
Redwood
Redwood 2013년 4월 30일
Dear Matlab experts,
I coded in Matlab to get the b value.
syms b
G = 7340;
G1 = 4516.881;
M1 = 5222.328;
M2 = 3264.034;
P1 = 3000;
P2 = 10000;
solve(G1 == G*(P1*exp(-b*M1/P1)/( P1*exp(-b*M1/P1)+ P2*exp(-b*M2/P2))), b)
But I got this in Matlab.
ans =
(65970697666560000*log(9312156501286059/49663631807804870))/93307147182466409
I would like to get the number, so please let me know how to fix this.
Thank you very much in advance.
Sincerely yours,
Redwood

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 4월 30일
syms b
G = 7340;
G1 = 4516.881;
M1 = 5222.328;
M2 = 3264.034;
P1 = 3000;
P2 = 10000;
out=solve(G1 == G*(P1*exp(-b*M1/P1)/( P1*exp(-b*M1/P1)+ P2*exp(-b*M2/P2))), b)
out=double(out)

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by