complex number root solving
35 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Azzi Abdelmalek
on 10 Mar 2014
Edited: Azzi Abdelmalek
on 10 Mar 2014
sols=roots([ 1 0 -i])
%or
sols=double(solve('z^2-i'))
0 Comments
More Answers (1)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!