Convert inline to symbolic

版本 1.0.0.0 (1.7 KB) 作者: Héctor Corte
Convert an inline function into symbolic so you can use symbolic operators like diff() or jacobian()
742.0 次下载
更新时间 2011/9/26

查看许可证

This program converts an inline expression into a symbolic expression, so you can use it on many Matlab operators that inline expression dosen't
work.

Usage:
Inputs:
fi=an inline function made with different names for each variable

Output:
f0=the same function fi, but converted into a symbolic function

Example:
Create an inline object that can't be simbolic differenciated
fi=inline('x^2+3*y-z^4','x','y','z')
f0=inline2sym(fi)
Now the expresion can be differenciated
syms x;diff(f0,x)

引用格式

Héctor Corte (2024). Convert inline to symbolic (https://www.mathworks.com/matlabcentral/fileexchange/33025-convert-inline-to-symbolic), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Symbolic Math Toolbox 的更多信息
致谢

启发作品: mmDerivative(t,y)

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0