Dear Fellow,(adsbygoogle = window.adsbygoogle || []).push({});

I need to find the roots of equation

x^8- 2x^6+3x^4-7x^2+a=0

in MATLAB, in such a way that I need 4 non repeating roots.

I have used the technique of

p=[1 -2 3 -7 1]

s=roots(p)

x1=s(1)

x2=s(2)

x3=s(3)

x4=s(4)

where xi,i=1,2,3,4 are roots of the above equation,

2nd option my friend gave me is

p=[1 -2 3 -7 1]

s=sqrt(roots(p))

x1=s(1)

x2=s(2)

x3=s(3)

x4=s(4)

this will again give me four roots of the equation,

need your help to find the four roots of above equation.

Regards

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Roots in Matlab

Loading...

Similar Threads for Roots Matlab |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB Matlab-like software |

MATLAB Matlab data into bins |

**Physics Forums | Science Articles, Homework Help, Discussion**