Convert inline to symbolic

Convert an inline function into symbolic so you can use symbolic operators like diff() or jacobian()
733 téléchargements
Mise à jour 26 sept. 2011

Afficher la licence

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)

Citation pour cette source

Héctor Corte (2024). Convert inline to symbolic (https://www.mathworks.com/matlabcentral/fileexchange/33025-convert-inline-to-symbolic), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et MATLAB Answers
Remerciements

A inspiré : mmDerivative(t,y)

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0