Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: value of a function
Date: Fri, 6 Nov 2009 20:53:02 +0000 (UTC)
Organization: Mitre Corp
Lines: 10
Message-ID: <hd22be$id7$1@fred.mathworks.com>
References: <hd21kv$59i$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257540782 18855 172.30.248.35 (6 Nov 2009 20:53:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 6 Nov 2009 20:53:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2318
Xref: news.mathworks.com comp.soft-sys.matlab:583120


"halee Rustumani" <halee89@hotmail.com> wrote in message <hd21kv$59i$1@fred.mathworks.com>...
> Hello everyone;
> lets say we have a function
> syms x
> f=3*(x^2)+3*x+2
> and you dont want to define the function using inline how do you find the function at a certain value for example:f(3)
> thanks

I don't have MATLAB available right now, but are you 
thinking about anonymous functions (using the @ sign)?