matlab中subs函数从表格读入参数
发布网友
发布时间:2022-04-29 22:02
我来回答
共1个回答
热心网友
时间:2022-06-23 23:52
syms f x T;
%A=solve('(f/log(0.2))*(0.9)^x=num2str(T)','x');
A=solve('(f/log(0.2))*(0.9)^x=T','x')
f=960;
T=0.001;
subs(A)
A =
-9.4912215810299030260099326864872*log(-1.6094379124341003746007593332262*T/f)
ans =
1.2622e+002 -2.9818e+001i
% 需要虚根
>>real(subs(A))
ans =
126.2219