

Your computations can be performed either analytically or using variable-precision arithmetic, with the results displayed in mathematical typeset. You can perform dimensional computations and convert between units. This model includes both continuous dynamics and discrete transitions. Symbolic Math Toolbox lets you analytically perform differentiation, integration, simplification, transforms, and equation solving. You can generate MATLAB functions, Simulink ® function blocks, and Simscape™ equations directly from symbolic expressions. This example shows how to model a bouncing ball, which is a classical hybrid dynamic system. You can share your symbolic work with other MATLAB users as live scripts or convert them to HTML, Word, LaTex, or PDF documents. Functions are called using the familiar MATLAB syntax and are available for integration, differentiation, simplification, equation solving, and other mathematical tasks. You can perform dimensional computations and convert between units. Symbolic Math Toolbox enables you to perform symbolic computations from the MATLAB command line by defining a special data type symbolic objects. Symbolic Math Toolbox lets you analytically perform differentiation, integration, simplification, transforms, and equation solving. The toolbox provides functions in common mathematical areas such as calculus, linear algebra, algebraic and differential equations, equation simplification, and equation manipulation. In the MATLAB ® Live Editor, you can get next-step suggestions for symbolic workflows. You can create, run, and share symbolic math code. If new is a cell array of numeric matrices, the substitutions are performed elementwise (i.e.Symbolic Math Toolbox™ provides functions for solving, plotting, and manipulating symbolic math equations. If S and old are scalars and new is an array or cell array, the scalars are expanded to produce an array result. If old and new are cell arrays of the same size, each element of old is replaced by the corresponding element of new. new is a symbolic or numeric variable or expression. old is a symbolic variable or a string representing a variable name. subs(S,old,new) replaces old with new in the symbolic expression S. Symbolic linear algebra (factorizations, inversion, determinants, eigencomputations, etc.) Discrete math (representations of summations, products, binomial coefficients, etc.

Symbolic polynomials and trigonometric functions. Subs(S) replaces all occurrences of variables in the symbolic expression S with values obtained from the calling function, or the MATLAB workspace. Symbolic arithmetic with type information and multiple dispatch. Symbolic substitution in a symbolic expression or matrix. Subs (Symbolic Math Toolbox) Symbolic Math Toolbox
