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 comments
Loading...
Problem Recent Solvers145
Suggested Problems
-
Determine whether a vector is monotonically increasing
23601 Solvers
-
2564 Solvers
-
17220 Solvers
-
Remove the two elements next to NaN value
714 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
897 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!