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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 10 de Mzo. de 2014
Editada: Azzi Abdelmalek el 10 de Mzo. de 2014

1 voto

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

Más respuestas (1)

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 10 de Mzo. de 2014

Respondida:

el 1 de Nov. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by