필터 지우기
필터 지우기

is there a function that returns the real root from a matrix that contains the roots of a function ?

조회 수: 1 (최근 30일)
i want to return the real root from a vector contains the roots of a function, this vector contains both imaginary and real roots

채택된 답변

Walter Roberson
Walter Roberson 2013년 4월 12일
If R is the vector of roots, then
R(imag(R) == 0)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by