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!