symnp SciMax Toolbox tilda (~)

SciMax Toolbox >> symr

symr

Converts numbers in rational

Calling Sequence

y=symr(x)

Parameters

x

can be of type int, double, complex, string, sym, polynomial

y

is of type sym

Description

The function symr (r as rational) converts a number into a rational.

Examples

symr(0.12345)

Author

See also

symnp SciMax Toolbox tilda (~)