complex number root solving

31 visualizzazioni (ultimi 30 giorni)
harley
harley il 10 Mar 2014
Risposto: Salman Khalaf il 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

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)

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

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by