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
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
-
209 Solvers
-
Sum the numbers on the main diagonal
620 Solvers
-
408 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!