help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rootfinding newtzero answer martin helm AND BPABBOT


From: Martin Helm
Subject: Re: rootfinding newtzero answer martin helm AND BPABBOT
Date: Sun, 15 Jul 2012 18:23:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120601 Thunderbird/13.0

Am 15.07.2012 18:05, schrieb john:
> Hellow,
>
> thank you for the message.
>
> But I think  it's not from mathworks I'm not sure,here is the link.
>
> http://www.pudn.com/downloads107/sourcecode/math/detail438905.html
>
> There are other different m-files.
>
> John
>
It has a MathWorks copyright in it!!!

I do not get why you need it, when I simply comment

#[f,err] = fcnchk(f,'vectorized'); % If user passed in a string.

#if ~isempty(err)
#    error(['Error using NEWTZERO:',err.message])
#end

in your newtzero function, all the examples in the help text just work,
because none of it passes a string for the function.
And in case a string would be passed you simply could use eval, not very
clever but should work.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]