Converting symbolic exponential function into linear form
2 次查看(过去 30 天)
显示 更早的评论
Hi, below I have a code to solve symbolically differential equation.
My question is simple:
How to present the solution in linear form instead of exponential form. So basically what is the code to logarithm symbolically function on both sides of the solved equation?
syms A(t) k A0
R = -diff(A) == k*A;
cond = A(0) == A0;
A(t) = dsolve(R,cond)
0 个评论
采纳的回答
Jyotsna Talluri
2019-8-25
z= log(A(t));
logA = simplify(z , 'IgnoreAnalyticConstraints', true);
0 个评论
更多回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!