matlab 解非线性方程只有复数解。
显示 更早的评论
matlab 解非线性方程只有复数解,按道理来说应该是有实数解的,这是什么原因呢,可以通过其他方法得到实数解吗
clear;
clc;
syms fai
a=1.45;n=2.68;m=0.6269; ks = 0.00004821176 ; q=2*10^(-5);
se=(1/(1+(a*fai)^n))^m
krw = se^(1/2)*(1-(1-se^(1/m))^m)^2;
kw = ks * krw;
vpasolve( kw-q==0, fai )
ans =
- 0.2706702470197805855288345099971 + 0.27709160310623304634861907521709i
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!