la función syms no funciona [syms function not working]
Afficher commentaires plus anciens
Quiero realizar un calculo simbolico pero no me funciona, al colocar syms x me sale error
Como puedo verificar que tengo habilitado el calculo simbolico
[Google Translate]: I want to perform a symbolic calculation but it doesn't work, when placing "syms x", I get an error. How can I verify that I have symbolic calculation enabled?
4 commentaires
madhan ravi
le 24 Déc 2023
What error message you get? Share the screenshot of the entire red text you get when running this command.
Dyuman Joshi
le 24 Déc 2023
"How can I verify that I have symbolic calculation enabled?"
Enter ver in the command window and see if you have the Symbolic Math Toolbox installed or not.
Ivan
le 27 Déc 2023
Walter Roberson
le 27 Déc 2023
You need to install the Symbolic Toolbox
If you are lucky, then possibly you already have a license for it. Use the Add-On Explorer and search for Symbolic Toolbox. If you already have a license for it then there will be a button to install the toolbox.
Réponses (1)
Sulaymon Eshkabilov
le 24 Déc 2023
Modifié(e) : Sulaymon Eshkabilov
le 24 Déc 2023
Is this what you are trying to achieve (È questo ciò che stai cercando di ottenere?):
% Initialize symbolics
syms H(x) F(x,y) G(x, y, z)
% Initialize symbolic functions
H(x) = sin(x)
F(x, y) = x^2+y^2+2*x*y
G(x, y, z) = sqrt(x^2+y^2+z^2-25)
% Calculations:
H(pi)
F(1, 2)
G(1, 2, 3)
Catégories
En savoir plus sur Code Performance dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!