1) MATLAB has a built-in ability to perform mathematical operations on complex numbers. However, there are times when it is useful to treat complex numbers as a structure. Write a set of functions with the following capability and a script to verify that they work correctly:
cmplx = makeComplex(real, imag)
res = cmplxAdd( cmpxa, cmpxb )
res = cmplxMult( cmpxa, cmpxb )
*Use an input statement to get the real and imaginary parts of the two complex numbers in the script.