inline function help

2 views (last 30 days)
Izak
Izak on 26 Mar 2011
I'm working on a school project and I need some help using the inline function. I'm using the inline function to create functions for derivatives of a system of equations, the problem I'm running into, is that when I take a derivative some of my variables might disappear, if there any command that let me check what the input requirements are for the inline function so I solve the problem accordingly.
I basically want to know if MATlab sees the function as a multivariable equation and what variables.
Thanks, Izak van der Walt

Answers (1)

Walter Roberson
Walter Roberson on 26 Mar 2011
I would recommend using anonymous functions instead of inline functions.

Categories

Find more on Function Creation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!