Problem 2554. Sum the real and imaginary parts of a complex number
Sum the real and imaginary parts of a complex number.
Example
c = 1+2i has the solution 1 + 2 = 3
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers142
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1925 Solvers
-
Back to basics 11 - Max Integer
798 Solvers
-
Return unique values without sorting
972 Solvers
-
703 Solvers
-
5927 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!