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 Solvers142
Suggested Problems
-
421 Solvers
-
Remove the two elements next to NaN value
681 Solvers
-
Generate N equally spaced intervals between -L and L
917 Solvers
-
Sum the elements in either diagonal of a square matrix
214 Solvers
-
597 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!