From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2210/CH3/EX3.1/3_1.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2210/CH3/EX3.1/3_1.sce (limited to '2210/CH3/EX3.1') diff --git a/2210/CH3/EX3.1/3_1.sce b/2210/CH3/EX3.1/3_1.sce new file mode 100755 index 000000000..37686f1ef --- /dev/null +++ b/2210/CH3/EX3.1/3_1.sce @@ -0,0 +1,20 @@ +//Chapter 3, Problem 1, Figure 3.4 +clc +//https://atoms.scilab.org/toolboxes/microwave +//Download and install the Microwave toolbox from above link and load it from scilab menubar > Toolboxes > microwave + + +//Plot the smith chart +uW_display_smith([.2 .5 1 2 5],12); +Z=[0.7-%i*0.2 0.7+%i*0.3 0.3-%i*0.5 0.3+%i*0.3] //impedances in matrix form + +R2=0 +plot2d(real(R2),imag(R2),-1); + +for n=1:length(Z) + Z1=50*Z(n) + G=(Z1-50)/(Z1+50); +plot2d(real(G), imag(G),-8); +xtitle("Smith Chart"); +end; + -- cgit