Computers

Octave Symbolic Expressions

Octave Symbolic Expressions

In this tutorial, we will learn about Octave Symbolic Expressions.

We can use the sym to define symbols and numbers as symbolic expressions.

syms function to create symbolic variables and
symbolic functions.

Load Package

>> pkg load symbolic

Example

>> syms m c
>> subs(m*c^2,[m,c],[10,186000])