By using MATLAB In the given pictures, until TASK 1 part, it gives you an explan
ID: 647912 • Letter: B
Question
By using MATLAB In the given pictures, until TASK 1 part, it gives you an explanation and example (you ignore this part if you don't need it). Section 1: Complex numbers A complex number is lust an ordered pan of real numbers. Several different mathematical notations can be used to represent complex number, In rectangular form we will use all of the following notations The pair can be drawn as a vector, such that x is the horizontal coordinate and y the vertical coordinate in a two dimensional space. Addition of complex numbers is the same as vector addition, i.e., add the real parts and add the imaginary parts In polar form we will use these notations Euler's formula: Can be used to convert between Cartesian and polar form. The following codes convert a complex number z=3+j4 into polar form These give us the results as follow: theta = 0.9273 r =5 So in polar form z = 5 exp(j0.9273) TASK 1 If x=2+3j, y= 5exp(-j3/5), z=3exp(-4j/pi), find the amplitude and phase of the following complex numbers Hint: use the function 'conj' to find the conjugate of a complex number.Explanation / Answer
%comment if you have any doutbs
%matlab script
clear;
clc;
x=2+3i;
y=5*exp(-3i/5);
z=3*exp(-4i/pi);
u1=x+y+z;
v1=conj(x)/abs(x)+y-conj(z);
fprintf('Amplitude of u1: %f and phase: %f radians ',abs(u1),angle(u1));
fprintf('Amplitude of v1: %f and phase: %f radians ',abs(v1),angle(v1));
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.