MATLAB Answers

EB
0

How to save function to calculate in an equation?

Asked by EB
on 21 Oct 2019 at 22:09
Latest activity Edited by EB
on 24 Oct 2019 at 2:17
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 Comments

Sign in to comment.

Tags

Products


Release

R2016a

1 Answer

Answer by Steven Lord
on 21 Oct 2019 at 22:58

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 Comments

Sign in to comment.