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 Solvers136
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6003 Solvers
-
Replace NaNs with the number that appears to its left in the row.
2943 Solvers
-
596 Solvers
-
664 Solvers
-
688 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!