Symbolic Math Toolbox    

Obsolete Functions

This version maintains some compatibility with version 1. For example, the following obsolete functions continue to be available in version 2, though you should avoid using them as future releases may not include them.

Function
Description
determ
Symbolic matrix determinant
linsolve
Solve simultaneous linear equations
eigensys
Symbolic eigenvalues and eigenvectors
singvals
Symbolic singular values and singular vectors
numeric
Convert symbolic matrix to numeric form
symop
Symbolic operations
symadd
Add symbolic expressions
symsub
Subtract symbolic expressions
symmul
Multiply symbolic expressions
symdiv
Divide symbolic expressions
sympow
Power of symbolic expression
eval
Evaluate a symbolic expression

In version 1, these functions accepted strings as arguments and returned strings as results. In version 2, they accept either strings or symbolic objects as input arguments and produce symbolic objects as results. Version 2 provides overloaded MATLAB operators or new functions that you can use to replace most of these functions in your existing code.

For example, the version 1 statements

continue to work in version 2. However, with version 2, the preferred approach is

The version 1 statements

continue to work in version 2. However, the preferred approach is

You can no longer use the sym function in this way:

Instead, you must change the code to something like this:

As in version 1, you can supply diff, int, solve, and dsolve with string arguments in version 2. In version 2, however, these functions return symbolic objects instead of strings.

For some computations, the new release of Maple produces results in a different format.

For example, with version 1, the statement

produces

The same statement works in version 2, but produces results with the RootOf expressions expanded to exhibit the multiple solutions.


 Compatibility Guide