Path: news.mathworks.com!not-for-mail
From: "Steven Lord" <slord@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: command
Date: Sun, 8 Nov 2009 18:44:25 -0500
Organization: The MathWorks, Inc.
Lines: 28
Message-ID: <hd7l2t$h7g$1@fred.mathworks.com>
References: <hd3jie$1d8$1@fred.mathworks.com>
Reply-To: "Steven Lord" <slord@mathworks.com>
NNTP-Posting-Host: lords.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1257723805 17648 172.31.44.65 (8 Nov 2009 23:43:25 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 8 Nov 2009 23:43:25 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:583435



"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