~Examples:
Create 1 or more symbolic variables:
syms a b cCreate a symbolic Function:
syms x(t) t
equation = x(t) == 4*t^2Create n variables:
syms a [1 n]Create a Symbolic Matrix:
syms A [2 4] matrixSet Assumptions
syms a
assume(a, 'real')
assumeAlso(0 < a < 3)Create a derivate:
syms x(t) t
equation = diff(x(t),t) == 8*tSimplify solution of an equation:
syms x(t) t
>> simplify(x^2 + 2*x + 1)
ans =
(x(t) + 1)^2