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 ExchangeGet 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