Thread Subject: command

Subject: command

From: saravanan manickam

Date: 7 Nov, 2009 10:53:02

Message: 1 of 2

what is difference between sym , syms, and vpa?

Subject: command

From: Steven Lord

Date: 8 Nov, 2009 23:44:25

Message: 2 of 2


"saravanan manickam" <saro_physics@yahoo.com> wrote in message
news:hd3jie$1d8$1@fred.mathworks.com...
> what is difference between sym , syms, and vpa?

SYM and SYMS are essentially the same; SYMS is often used in the command
form, while SYM is often used in the function form. For instance, the
following two commands do essentially the same thing, though for other
reasons I recommend using the first form.

x = sym('x');
syms x;

VPA is a _method_ for symbolic objects created by SYM or SYMS that displays
them using variable-precision arithmetic.

For more information, read:

    help sym
    help syms
    help vpa

--
Steve Lord
slord@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us at files@mathworks.com