From: kout supcom on
"kawak " <kbenjamin(a)hotmail.fr> wrote in message <hjgdmd$6t6$1(a)fred.mathworks.com>...
> Hi,
>
> Once again, I need your help :-).
>
> I have got a simple equation : 2*10^-6=erfc(x) with Matlab, where erfc is the the complementary error function.
>
> I would like to solve this equation, so I tried:
>
> y=solve('2*10^-6-erfc(x)','x')
>
> but it doesn't work :
>
> ??? Error using ==> solve at 77
> ' 2*10^-6-erfc(x) ' is not a valid
> expression or equation.
>
> Do you have an idea in order to solve this equation without initial conditions?
>
> Thank you
>
> Benjamin
From: kout supcom on
"kawak " <kbenjamin(a)hotmail.fr> wrote in message <hjgecr$kv2$1(a)fred.mathworks.com>...
> "kawak " <kbenjamin(a)hotmail.fr> wrote in message <hjgdmd$6t6$1(a)fred.mathworks.com>...
> > Hi,
> >
> > Once again, I need your help :-).
> >
> > I have got a simple equation : 2*10^-6=erfc(x) with Matlab, where erfc is the the complementary error function.
> >
> > I would like to solve this equation, so I tried:
> >
> > y=solve('2*10^-6-erfc(x)','x')
> >
> > but it doesn't work :
> >
> > ??? Error using ==> solve at 77
> > ' 2*10^-6-erfc(x) ' is not a valid
> > expression or equation.
> >
> > Do you have an idea in order to solve this equation without initial conditions?
> >
> > Thank you
> >
> > Benjamin
>
> I apologize, I found the solution :it's
> x=erfcinv(2*10^-6)
>
> sorry for my post...
>
> see you soon ;)
>
> Benjamin