complex number root solving

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

 Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 10 Mar 2014
Modificato: Azzi Abdelmalek il 10 Mar 2014
sols=roots([ 1 0 -i])
%or
sols=double(solve('z^2-i'))

Più risposte (1)

Categorie

Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by