Path: news.mathworks.com!not-for-mail
From: "A " <amutka@welho.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: A few questions about using matlab
Date: Tue, 6 May 2008 13:41:20 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 26
Message-ID: <fvpn5v$qht$1@fred.mathworks.com>
References: <fvk68r$mct$1@fred.mathworks.com> <fvko8f$kam$1@fred.mathworks.com>
Reply-To: "A " <amutka@welho.com>
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 1210081280 27197 172.30.248.35 (6 May 2008 13:41:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 6 May 2008 13:41:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1196300
Xref: news.mathworks.com comp.soft-sys.matlab:466911


"carlos lopez" <clv2clv_00000000_@adinet.com.uy> wrote in
message <fvko8f$kam$1@fred.mathworks.com>...

> 
> To illustrate something else, if you want to use your
> example you should modify it a bit:
> Function out = fun(f,x)
> x=deriv(x,ones(size(x)));
> dummy = feval(f,x);
> out=dummy.val;
> 
> If you want to test this workaround, I can provide a copy of
> the ADMAT toolbox. Just ask me off the list.
> Regards
> Carlos

I don't have matlab at home so I wasn't able to try this
example out until today.

It gave me following error:
"??? Undefined function or variable 'x'."

I entered the function as >>fun(log(x),2)

.A