正在加载图片...
Advanced Mathematics(9/34) Symbolic Mathematics MATLAB has a type called sym for symbolic variables and expressions;these work with strings. For example:to create a symbolic variable a and perform the addition just described,first a symbolic variable would be created by passing the string a'to the sym function: >>a=sym('a')i >>a+a ans= 2*a @日济大学 TONGJI UNIVERSITY ➢ MATLAB has a type called sym for symbolic variables and expressions; these work with strings. For example: to create a symbolic variable a and perform the addition just described, first a symbolic variable would be created by passing the string ‘a’ to the sym function: Advanced Mathematics(9/34) Symbolic Mathematics
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有