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 Solvers143
Suggested Problems
-
Sum of diagonal of a square matrix
1631 Solvers
-
Check if number exists in vector
13777 Solvers
-
Magic is simple (for beginners)
11100 Solvers
-
The Answer to Life, the Universe, and Everything
573 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
397 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!