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 Solvers138
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
442 Solvers
-
Calculate the derivative of a polynomial
224 Solvers
-
648 Solvers
-
Flip the vector from right to left
8715 Solvers
-
Matlab Basics II - Log and natural log
179 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!