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

1 vote

sols=roots([ 1 0 -i])
%or
sols=double(solve('z^2-i'))

Plus de réponses (1)

Catégories

En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by