Question

Microstrip line is one of the most popular types of planar transmission lines primarily because it can be fabricated by photoThe function file should have the following three components: nputs 1, w, d , and e, 2. The equation for e, in terms of e, 3.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clc
clear all
W=input('Type the value of W: ');
d=input('Type the value of d: ');
Er=input('Type the value of Er: ');

counts=0;
flag=1;
while(1)
if((min(W)<=0||min(d)<=0||min(Er)<=0||length(Er)~=3)&&counts==2)
flag=0;
break;
end
if(min(W)>0&&min(d)>0&&min(Er)>0&&length(Er)==3)
flag=1;
break;
end
W=input('Type the value of W: ');
d=input('Type the value of d: ');
Er=input('Type the value of Er: ');
counts=counts+1;
  
end
z1l=[];
z2l=[];
z3l=[];
z1u=[];
z2u=[];
z3u=[];
wdnl=[];
wdnu=[];
if(flag==0)
disp('Read the manual carefully');
else
Wd=W./d;
for i=1:length(Wd)
if(Wd(i)<=1)
wdnl=[wdnl Wd(i)];
z1l=[z1l 0.12*Er(1)*sin(Wd(i))/Wd(i)];
z2l=[z2l 0.12*Er(2)*sin(Wd(i))/Wd(i)];
z3l=[z3l 0.12*Er(3)*sin(Wd(i))/Wd(i)];
else
wdnu=[wdnu Wd(i)];
z1u=[z1u 0.12*Er(1)*cos(Wd(i))/Wd(i)];
z2u=[z2u 0.12*Er(2)*cos(Wd(i))/Wd(i)];
z3u=[z3u 0.12*Er(3)*cos(Wd(i))/Wd(i)];
end
end
subplot(3,1,1)
plot(wdnl,z1l,'b');
hold on;
plot(wdnl,z2l,'r');
hold on;
plot(wdnl,z3l,'g');
hold off;
s1=sprintf('Er=%f\n',Er(1));
s2=sprintf('Er=%f\n',Er(2));
s3=sprintf('Er=%f\n',Er(3));
legend(s1,s2,s3);
xlabel('W/d');
ylabel('Z0');
title('Z vs W/d for 0<W/d<1');
subplot(3,1,2)
plot(wdnu,z1u,'b');
hold on;
plot(wdnu,z2u,'r');
hold on;
plot(wdnu,z3u,'g');
hold off;
legend(s1,s2,s3);
xlabel('W/d');
ylabel('Z0');
title('Z vs W/d for W/d>1');
subplot(3,1,3)
plot([wdnl wdnu],[z1l z1u],'b');
hold on;
plot([wdnl wdnu],[z2l z2u],'r');
hold on;
plot([wdnl wdnu],[z3l z3u],'g');
hold off;
legend(s1,s2,s3);
xlabel('W/d');
ylabel('Z0');
title('Z vs W/d for W/d>0');
end

Figure 1 File Edit View srt Iools Desktop Window Help 0.02 0.015 R 0.01 -Er:0.060000 --Er·001 2000 -Er-0.180000 0.005 0.1 0.2

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Microstrip line is one of the most popular types of planar transmission lines primarily because it...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • CS240 Intro Engineering Programming Programming Assignment # 6 Due Friday, March 29th by midnight Topics: Plot...

    CS240 Intro Engineering Programming Programming Assignment # 6 Due Friday, March 29th by midnight Topics: Plot subplot We know that the work done by a force F which is applied on a box at an angle x-axis and a displacement value d is given by: with respect to the and assume we know that d 15 m. Write a function its name is "work calculator" which gets two inputs 1) A vector which includes angle( θ ) values ranges from...

  • please help me with this MATLAB CODE and explain to me what each line does and...

    please help me with this MATLAB CODE and explain to me what each line does and what is used for? leave your comments as words, not as pictures. ..................................................................................................................................................................... clear all; close all; % For a script file, you better start with clear all and close all                        % However, for a fucntion, you better NOT to start                        % with them %% End of cell mode example %% Plot function t = 0:0.1:5; x1 = sin(2*5*t); x2 = cos(3*7*t);...

  • thé UelLII lmaoT UL IIE 1Urwård- and backward-crosstalk voltages in- outino n a secondary line for...

    thé UelLII lmaoT UL IIE 1Urwård- and backward-crosstalk voltages in- outino n a secondary line for a given excitation for the primary line. PROBLEMS Section 6.1 K1. Finding fields and power flow for a parallel-plate line for specified voltage along the line. A parallel-plate transmission line is made up of perfect conductors of width w = 0.1 m and lying in the planes x = 0 and x = 0.01 m. The medium between the conductors is a nonmagnetic (μ-Ao),...

  • Task 1 The equivalent resistance Req of four resistors R1, R2, R3 and R4 connected in series is g...

    Use MATLAB to solve these problems, thank u Task 1 The equivalent resistance Req of four resistors R1, R2, R3 and R4 connected in series is given as eq.series R1 R2 R3 R4. The equivalent resistance Req of four resistors R1, R2, R3 and R4 connected in parallel is given as q.parallel K1R2R3 R Write an m-file that does the following in order: Prompt the user for the type of connection (e.g. user should enter "1" for series and "2"...

  • Solve it using matlab and there is an example for a similar one i put •...

    Solve it using matlab and there is an example for a similar one i put • Write a function calculate_mean_ci(). The inputs to this function are of the form (x, sigma, level). These are x: a numeric vector. sigma : population standard deviation. level : the confidence level given as a percentage, e.g., 95. • The output is a vector of length two of the form (lwr, upr), where lwr = - 20.025 4 and upr = 1 + 20.025...

  • 3. A system of two transmission lines connected in series are driven by a voltage source fi(t) Vo...

    3. A system of two transmission lines connected in series are driven by a voltage source fi(t) Vou(t) and terminated by a resistive load of 60S2 as shown in the figure below. A switch is closed at t 0 and the positive voltages are measured for 5 μs giving the bounce diagram shown in the figure-the voltage values indicated in the diagram correspond to delta function weights times the source voltage products such as VOTg, VOTg(1 +「2), etc. 400 m...

  • 1) a) Write MATLAB function that accepts a positive integer parameter n and returns a vector...

    1) a) Write MATLAB function that accepts a positive integer parameter n and returns a vector containing the values of the integral (A) for n= 1,2,3,..., n. The function must use the relation (B) and the value of y(1). Your function must preallocate the array that it returns. Use for loop when writing your code. b) Write MATLAB script that uses your function to calculate the values of the integral (A) using the recurrence relation (B), y(n) for n=1,2,... 19...

  • Nay programming languge is fine (MatLab, Octave, etc.) This is the whole document this last picture...

    Nay programming languge is fine (MatLab, Octave, etc.) This is the whole document this last picture i sent is the first page 5. Write and save a function Sphere Area that accepts Radius as input argument, and returns SurfaceArea (4 tt r) as output argument. Paste the function code below. Paste code here 6. Validate your Sphere Area function from the command line, checking the results against hand calculations. Paste the command line code and results below. 7. Design an...

  • t0 = 0; tf = 20; y0 = [10;60]; a = .8; b = .01; c...

    t0 = 0; tf = 20; y0 = [10;60]; a = .8; b = .01; c = .6; d = .1; [t,y] = ode45(@f,[t0,tf],y0,[],a,b,c,d); u1 = y(:,1); u2 = y(:,2); % y in output has 2 columns corresponding to u1 and u2 figure(1); subplot(2,1,1); plot(t,u1,'b-+'); ylabel('u1'); subplot(2,1,2); plot(t,u2,'ro-'); ylabel('u2'); figure(2) plot(u1,u2); axis square; xlabel('u_1'); ylabel('u_2'); % plot the phase plot %---------------------------------------------------------------------- function dydt = f(t,y,a,b,c,d) u1 = y(1); u2 = y(2); dydt = [ a*u1-b*u1*u2 ; -c*u2+d*u1*u2 ]; end Only...

  • Task 4 Many real world objects travel in a jagged manner that is best represented by piecewise fu...

    MATLAB question: Task 4 Many real world objects travel in a jagged manner that is best represented by piecewise functions. For example, the velocity of a rocket may change sharply when thrusters are enabled or disabled and due to various external factors. The velocity of a rocket can be modelled by v(t) where t represents the time 112-5t 0sts10 1100-5t10StS20 vt) 502( 20)25 20sIs 30 1520e0-30) 0 t >30 otherwise Write a function that takes a start and end time...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT