Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
sym or double precision?

Subject: sym or double precision?

From: Jveer

Date: 15 Mar, 2009 13:56:01

Message: 1 of 3

which one is numerically better? using the symbolic toolbox or just double precision?


how does using syms affect processing speed? can all operations be performed?

Subject: sym or double precision?

From: Sprinceana

Date: 15 Mar, 2009 15:48:01

Message: 2 of 3

"Jveer " <jveer@jveer.com> wrote in message <gpj1dh$rgu$1@fred.mathworks.com>...
> which one is numerically better? using the symbolic toolbox or just double precision?
>
>
> how does using syms affect processing speed? can all operations be performed?

SYMS arg1 arg2 ... unreal
    is short-hand notation for
       arg1 = sym('arg1','unreal');
       arg2 = sym('arg2','unreal'); ...
 
    Each input argument must begin with a letter and must contain only
    alphanumeric characters.

I think syms it's more precise(it's alphanumerical)

>>help syms

for detailed information

Subject: sym or double precision?

From: Walter Roberson

Date: 17 Mar, 2009 18:24:25

Message: 3 of 3

Jveer wrote:
> which one is numerically better? using the symbolic toolbox or just double precision?

The symbolic toolbox supports up to tens of thousands of digits (I don't recall the
exact limit.)

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us