How to install and enable Symbolic Math Toolbox
613 次查看(过去 30 天)
显示 更早的评论
Hello! I am new to MatLab. How do I install and enable Symbolic Math Toolbox? I am currently getting the following error when I try to use the "syms" syntax:
To use 'syms', the following product must be licensed, installed, and enabled:
Symbolic Math Toolbox
0 个评论
回答(2 个)
yazen abazeid
2021-6-13
% Filename: ex.m % function ex=ex(x,y) % ex=x.*x+y.*y; % end syms x y; u=jacobian(ex(x,y),[x,y])
1 个评论
Walter Roberson
2021-8-29
With your spacing it is difficult to tell what is commented out and what is not commented out.
If it is still a function, then notice that it does not assign to ex as the function expects.
It is not recommended, by the way, to use the same name for a variable as the function; it confuses the parser and it confuses readers.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!