Return the value of the imaginary number i to the power of input argument n.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers119
Suggested Problems
-
Project Euler: Problem 10, Sum of Primes
2129 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14243 Solvers
-
798 Solvers
-
539 Solvers
-
195 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!