Hi, i i have an equation(2nd order). there are two roots of the equation. and i only want to display the positive root(in case of a complex root only the real positive part) using if else. kindly guide me with the doubt. Thanks.

Hi, i i have an equation(2nd order). there are two roots of the equation. and i only want to display the positive root(in case of a complex root only the real positive part) using if else. kindly guide me with the doubt. Thanks.

Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Asked:

on 18 Jun 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!