How to save function to calculate in an equation?
조회 수: 1 (최근 30일)
이전 댓글 표시
How do you save dydx so it's not a function and can be calculated in error?
At the moment, I get the error: "Undefined operator '-' for input arguments of type 'function_handle'." And it seems because my dydx is a function, it cannot be calculated.
댓글 수: 0
답변 (1개)
Steven Lord
2019년 10월 21일
You can't add a function handle and a number.
You can add the value you receive from evaluating a function handle and a number.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!