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 Solvers141
Suggested Problems
-
308 Solvers
-
Create a vector whose elements depend on the previous element
710 Solvers
-
245 Solvers
-
Output any real number that is neither positive nor negative
399 Solvers
-
362 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!