complex number root solving

34 Ansichten (letzte 30 Tage)
harley
harley am 10 Mär. 2014
Beantwortet: Salman Khalaf am 1 Nov. 2020
trying to use matlab to solve some complex numbers, as a basic example how does one command matlab to find all the roots of;
z^2 - i = 0

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 10 Mär. 2014
Bearbeitet: Azzi Abdelmalek am 10 Mär. 2014
sols=roots([ 1 0 -i])
%or
sols=double(solve('z^2-i'))

Weitere Antworten (1)

Salman Khalaf
Salman Khalaf am 1 Nov. 2020
sols=roots([ 1 0 -i])

Kategorien

Mehr zu Get Started with MATLAB 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!

Translated by