How to get solution of quadratic equation in decimal format?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
>> solve('2*x^2-4*x+5')
Solving equation gives answer in n/d format. i want anser in decimal foramt how to get it?
ans =
1 - (6^(1/2)*i)/2
1 + (6^(1/2)*i)/2
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Quadratic Programming and Cone Programming finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!