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

80.79% Correct | 19.21% Incorrect
Last Solution submitted on Oct 24, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers136

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!