|
From: HORMIS on 19 Jun 2008 03:33 How to solve a quadratic equation numerically. Is there any inbuilt function?. Now iam using our old (-b+(b^2-4*a*c)^.5)/(2*a) method. Iam using Matlab 6.5.
From: Prash on 19 Jun 2008 03:50 "HORMIS " <hormisjv(a)gmail.com> wrote in message <g3d23d$o59 $1(a)fred.mathworks.com>... > How to solve a quadratic equation numerically. Is there any > inbuilt function?. Now iam using our old > (-b+(b^2-4*a*c)^.5)/(2*a) method. Iam using Matlab 6.5. yes, go the matlab help file (pdf)all the functions regarding the equation are given there.
From: Srikanth on 19 Jun 2008 03:54 Look at roots - gives the solution to a polynomial function
From: Ashwini Deshpande on 19 Jun 2008 04:47 "HORMIS " <hormisjv(a)gmail.com> wrote in message <g3d23d$o59$1(a)fred.mathworks.com>... > How to solve a quadratic equation numerically. Is there any > inbuilt function?. Now iam using our old > (-b+(b^2-4*a*c)^.5)/(2*a) method. Iam using Matlab 6.5. Hai, Have a look at these commands, expand sym2poly roots HTH, Ashwini
From: HORMIS on 19 Jun 2008 05:27 "Ashwini Deshpande" <vd.ashwini(a)mathworks.com> wrote in message <g3d6e6$2s1$1(a)fred.mathworks.com>... > "HORMIS " <hormisjv(a)gmail.com> wrote in message > <g3d23d$o59$1(a)fred.mathworks.com>... > > How to solve a quadratic equation numerically. Is there any > > inbuilt function?. Now iam using our old > > (-b+(b^2-4*a*c)^.5)/(2*a) method. Iam using Matlab 6.5. > > Hai, > > Have a look at these commands, > expand > sym2poly > roots > > HTH, > > Ashwini > > Thanks for the replies... Got results. How can i exclude complex roots from this?
|
Next
|
Last
Pages: 1 2 Prev: Reading ASCII file in MATLAB Next: Order of convolution and multiplying |