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 comments
Loading...
Problem Recent Solvers145
Suggested Problems
-
Return the 3n+1 sequence for n
8534 Solvers
-
Remove the two elements next to NaN value
713 Solvers
-
Duplicate each element of a vector.
639 Solvers
-
477 Solvers
-
2111 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!