How to save function to calculate in an equation?

2 ビュー (過去 30 日間)
EB
EB 2019 年 10 月 21 日
編集済み: EB 2019 年 10 月 24 日
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.

回答 (1 件)

Steven Lord
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.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

製品


リリース

R2016a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by