Question: wt = 0; ZN=(.5+.1j); R = RefCoeff(ZN); %function to compute forward wave value forWave = @(Bz) real(exp(-1j*Bz+1j*wt)); %function for reflected wave values refWave = @(Bz)

wt = 0; ZN=(.5+.1j); R = RefCoeff(ZN); %function to compute forward wave value forWave = @(Bz) real(exp(-1j*Bz+1j*wt)); %function for reflected wave values refWave = @(Bz) real(R*exp(1j*Bz+1j*wt)); %function for total wave totWave = @(Bz) real(exp(-1j*Bz+1j*wt)) + real(R*exp(1j*Bz+1j*wt)); %plotting graphs here %graph forward wave figure; hold on; fplot(forWave,[-4*pi,0],'LineWidth',2); %keep graphs
%graph reflected fplot(refWave,[-4*pi,0],'--' ,'LineWidth',2); %graph total fplot(totWave,[-4*pi,0],'-.', 'LineWidth',2); %label graph title('Voltage at t=0 vs z, Zn = '+string(ZN)); %axis labels xlabel('distance'); ylabel('voltage'); legend('Incident Wave','Reflected Wave','Total'); %function for calculating reflection coefficient function R = RefCoeff(Zn) R = (Zn-1)/(Zn+1); end
Pre-Lab Exercise 3: Choose a Zn and modify the MATLAB code in order to observe the time development of the voltage on a transmission line. You need to change t inside the loop and plot the voltage each time. You can use steps of 1/20 of a period time interval for t (I=0, T/20, 2XT/20, ...). Use MATLABs hold on command to keep the graphs for all time steps in one figure. Describe the voltage profiles. What voltage would you measure with an AC voltmeter at the point z = -2?Argument. Note that since w = 21/T, you do need to consider a specific frequency to solve this problem. You can instead consider wt as a variable in your program and change it according to the time steps given in the problem (wt = 0, 21/20, 2 x 20/20, ...). Pre-Lab Exercise 3: Choose a Zn and modify the MATLAB code in order to observe the time development of the voltage on a transmission line. You need to change t inside the loop and plot the voltage each time. You can use steps of 1/20 of a period time interval for t (I=0, T/20, 2XT/20, ...). Use MATLABs hold on command to keep the graphs for all time steps in one figure. Describe the voltage profiles. What voltage would you measure with an AC voltmeter at the point z = -2?Argument. Note that since w = 21/T, you do need to consider a specific frequency to solve this problem. You can instead consider wt as a variable in your program and change it according to the time steps given in the problem (wt = 0, 21/20, 2 x 20/20, ...)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
