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
-
Replace NaNs with the number that appears to its left in the row.
3070 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2068 Solvers
-
Calculate the derivative of a polynomial
240 Solvers
-
Find out sum of all elements of given Matrix
540 Solvers
-
Create a square matrix of zeros of even order
188 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!