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

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 3월 10일
편집: Azzi Abdelmalek 2014년 3월 10일

1 개 추천

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

추가 답변 (1개)

Salman Khalaf
Salman Khalaf 2020년 11월 1일

0 개 추천

sols=roots([ 1 0 -i])

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

질문:

2014년 3월 10일

답변:

2020년 11월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by