help-octave
[Top][All Lists]
Advanced

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

Re: Help required


From: James Sherman Jr.
Subject: Re: Help required
Date: Tue, 11 Sep 2007 12:52:29 -0400

Your function that I read is rather garbled (I keep getting errors).
But, I think you want something more like:

function x0 = mysolve(u)

options.abstol=1e-5;
f = @(x) x^2-u;

x0 = solve(f, 1);

return;

On 9/11/07, yoonus <address@hidden> wrote:
> Sir,
>  Please help me out by debugging the code. Actually I want pass a constant
> inside function each time and want the solution for f(x).
>
> Thanks
> C.A.Yoonus
> Research Scholar
> IFMR
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
>


reply via email to

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