vpasolve returning Empty sym: 0-by-1

조회 수: 13 (최근 30일)
Long Lit Chew
Long Lit Chew 2020년 1월 4일
댓글: Long Lit Chew 2020년 1월 4일
%initial parameters
A = 1.87.*10.^-9;
f = 189;
d = 1550;
k = 8.43.*10.^-5;
K = 4.68.*10.^5;
B = 1.11.*10.^-7;
P = 500;
syms j
eqn = j./((d.*exp(-j./k)-f.*exp(j.*K))./(1+(B./j).*(exp(j.*K)-exp(-j./k)))- P) - A == 0;
sol = vpasolve(eqn ,j)
I want to solve the unknown parameters j, please help me T_T

채택된 답변

Walter Roberson
Walter Roberson 2020년 1월 4일
sol = vpasolve(eqn, j, 1e-6)
The eqn has a singularity not far from that point; it is rapidly rising towards +infinity near there, and crosses through 0 as it does so.

추가 답변 (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