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
-
Swap the first and last columns
19414 Solvers
-
Extract leading non-zero digit
2061 Solvers
-
Back to basics 21 - Matrix replicating
1471 Solvers
-
672 Solvers
-
1085 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!