필터 지우기
필터 지우기

la función syms no funciona [syms function not working]

조회 수: 6 (최근 30일)
Ivan
Ivan 2023년 12월 24일
댓글: Walter Roberson 2023년 12월 27일
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
Ivan
Ivan 2023년 12월 27일
This is what i get with the "ver" command
MATLAB Version: 9.14.0.2337262 (R2023a) Update 5
MATLAB License Number: 1066897
Operating System: Microsoft Windows 11 Home Single Language Version 10.0 (Build 22621)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.14 (R2023a)
>>
Walter Roberson
Walter Roberson 2023년 12월 27일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 12월 24일
편집: Sulaymon Eshkabilov 2023년 12월 24일
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)
H(x) = 
F(x, y) = x^2+y^2+2*x*y
F(x, y) = 
G(x, y, z) = sqrt(x^2+y^2+z^2-25)
G(x, y, z) = 
% Calculations:
H(pi)
ans = 
0
F(1, 2)
ans = 
9
G(1, 2, 3)
ans = 

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by