complex number root solving

30 vues (au cours des 30 derniers jours)
harley
harley le 10 Mar 2014
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

Réponse acceptée

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

Plus de réponses (1)

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

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by