Nice problem!
Concept of complex numbers might help
:)
read question carefully!!!
Design test case carefully....
To avoid non-desired usages, like pi, it is necessary to not place pi in the function name. The function can be searched for forbidden function usages. There is an aspect of cat and mouse in Cody Challenges.
I agree. Disallow usage of PI for fairer scoring of your problem. Neat question!
54226 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
convert matrix to single column
306 Solvers
Matlab Basics - Convert a row vector to a column vector
419 Solvers
Matlab Basics - y as a function of x
339 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!