I would recommend using anonymous functions instead of inline functions.
inline function help
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Function Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!