Question: a . MATLAB Exercise # 1 : First, create a new MATLAB script file. Then go to 'Save' 'Save As ' and then save it

a. MATLAB Exercise # 1:
First, create a new MATLAB script file. Then go to 'Save' 'Save As' and then save it with the filename - "Lab1_Task2_First Name_Last Name.m". Save it within a folder of your choice in your computer.
Now write codes within the MATLAB script file to perform the following complex number calculations in MATLAB. Then fill up Table 1 of the Lab-1 Datasheet.
Consider two complex numbers: (3+j4) and (4-j2). Store the complex numbers in two variables 'a' and 'b', respectively. Now perform the following mathematical operations using the variables 'a' and 'b'. Note: Electrical engineers use j instead of i for the imaginary component, but MATLAB accepts i.
(i) Add the complex numbers and display the result in rectangular and in polar form. For all exercises, angles for the polar form must be calculated in 'degrees'. Write your answer in polar form in the following format:
r?
Where, r is the magnitude and is the angle in degrees.
 a. MATLAB Exercise # 1: First, create a new MATLAB script

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!