How can I solve an equation containing log ?
5 次查看(过去 30 天)
显示 更早的评论
c=1692.19
m=260kg
k=91.23
x=100ft
(k*x/m)+v+(c/k)*ln((-kv+c)/c)=0
Find v ?
How to solve this equation in matlab?
0 个评论
回答(1 个)
Star Strider
2020-3-29
Use the fsolve function, because it will return complex results, and since the argument to the log function is negative it will return a complex results for ‘v’, at least during the optimisation process.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numbers and Precision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!