Commit 1b1868b0 authored by Stewart Thomas's avatar Stewart Thomas
Browse files

Adds homework binaries

parent 6d6456e7
figure(1);clf;
smithchart([1, 0, 0], 1);
set(gca, 'xdir', 'reverse');
hax = axes();
smithchart();
p1 = 50 * [.2 - j*0.5];
h = plotz(p1, 'o');
set(h, 'markersize', 18, 'linewidth', 6)
p1e = 50 * [.2 + 1j*2];
h = plotz(p1e, 'x');
set(h, 'markersize', 18, 'linewidth', 6)
% Ans: use SERIES INDUCTOR
%%
figure(1);clf;
smithchart([1, 0, 0], 1);
set(gca, 'xdir', 'reverse');
hax = axes();
smithchart();
p2 = 50 * [.5 + j*.5];
h = plotz(p2, 'o');
set(h, 'markersize', 18, 'linewidth', 6)
p2e = 50 * [1 - 1j];
h = plotz(p2e, 'x');
set(h, 'markersize', 18, 'linewidth', 6)
% ans: series l, shunt l
%%
figure(1);clf;
smithchart([1, 0, 0], 1);
set(gca, 'xdir', 'reverse');
hax = axes();
smithchart();
p3 = 50 * [2 + 1j*5];
h = plotz(p3, 'o');
set(h, 'markersize', 18, 'linewidth', 6)
p3e = 50 * [.25 - .25j];
h = plotz(p3e, 'x');
set(h, 'markersize', 18, 'linewidth', 6)
% series l, shunt c, load
%%
%% PROBLEM 1:
figure(1);clf;
smithchart([1, 0, 0], 1);
set(gca, 'xdir', 'reverse');
hax = axes();
smithchart();
p1 = 50 * [.2 - j*0.5];
h = plotz(p1, 'o');
set(h, 'markersize', 12, 'linewidth', 2)
p1e = 50 * [.2 + 1j*2];
h = plotz(p1e, 'x');
set(h, 'markersize', 12, 'linewidth', 2)
%% PROBLEM 2:
figure(1);clf;
smithchart([1, 0, 0], 1);
set(gca, 'xdir', 'reverse');
hax = axes();
smithchart();
p2 = 50 * [.5 + j*.5];
h = plotz(p2, 'o');
set(h, 'markersize', 12, 'linewidth', 2)
p2e = 50 * [1 - 1j];
h = plotz(p2e, 'x');
set(h, 'markersize', 12, 'linewidth', 2)
%% PROBLEM 3:
figure(1);clf;
smithchart([1, 0, 0], 1);
set(gca, 'xdir', 'reverse');
hax = axes();
smithchart();
p3 = 50 * [2 + 1j*5];
h = plotz(p3, 'o');
set(h, 'markersize', 12, 'linewidth', 2)
p3e = 50 * [.25 - .25j];
h = plotz(p3e, 'x');
set(h, 'markersize', 12, 'linewidth', 2)
! created by sthoma11 at Fri Sep 09 10:22:27 CDT 2016
! generated using vna/J Version 3.1.9
# Hz S DB R 50
902000000 -0.25671407 -102.95738937
902043992 -0.09358564 -102.78311683
902087984 -0.07457654 -102.99281799
902131976 -0.06487561 -103.06788563
902175968 -0.06713961 -103.26949052
902219960 -0.05421178 -103.48965080
902263952 -0.06438024 -103.57794995
902307944 -0.06502733 -102.56422414
902351936 -0.07152371 -102.84207235
902395928 -0.07818900 -103.02076226
902439920 -0.06651547 -103.09003262
902483912 -0.06566980 -103.27893087
902527904 -0.07835724 -103.54907251
902571896 -0.06985735 -103.66025120
902615888 -0.08475912 -102.48455973
902659880 -0.07465632 -102.68221688
902703872 -0.07164191 -102.75960592
902747864 -0.06870563 -102.97632588
902791856 -0.07664895 -103.24426988
902835848 -0.07420363 -103.48217564
902879840 -0.08938271 -103.42028706
902923832 -0.03430565 -102.48177578
902967824 -0.04541675 -102.63802837
903011816 -0.03658845 -102.85057074
903055808 -0.04626204 -102.96842819
903099800 -0.04826385 -103.14262462
903143792 -0.04045635 -103.27966990
903187784 -0.03355627 -103.49366806
903231776 -0.05333362 -102.32528714
903275768 -0.05544074 -102.53925950
903319760 -0.07259330 -102.61657496
903363752 -0.05031910 -102.92708133
903407744 -0.05172970 -102.99292917
903451736 -0.06575393 -103.16800705
903495728 -0.00690399 -102.29922276
903539720 -0.01605148 -102.44485984
903583712 -0.02277956 -102.62025621
903627704 -0.02720329 -102.73732782
903671696 -0.01073875 -102.92360645
903715688 -0.01897106 -103.14030366
903759680 -0.01396811 -103.27692475
903803672 -0.03669024 -101.98682022
903847664 -0.02283048 -102.19930346
903891656 -0.02995695 -102.26316543
903935648 -0.01622609 -102.52842340
903979640 -0.02959953 -102.59515321
904023632 -0.03192070 -102.73430548
904067624 -0.02555728 -102.90333780
904111616 -0.00121517 -101.77713587
904155608 0.00000000 -101.93347189
904199600 -0.00499314 -102.18535714
904243592 -0.00127615 -102.31931671
904287584 -0.01400644 -102.50918472
904331576 -0.02154629 -102.67983418
904375568 -0.00917153 -102.92613888
904419560 -0.00911114 -101.69992832
904463552 -0.01448495 -101.86076660
904507544 -0.00437389 -102.10326362
904551536 -0.02498506 -102.18294606
904595528 -0.00903911 -102.40604830
904639520 -0.01659504 -102.59275745
904683512 -0.01656067 -102.79056357
904727504 0.00000000 -101.57360751
904771496 0.00000000 -101.84391679
904815488 0.00000000 -101.92197705
904859480 0.00000000 -102.07855919
904903472 0.00000000 -102.30262126
904947464 0.00000000 -102.51267165
904991456 0.00000000 -101.38418333
905035448 0.00000000 -101.57943580
905079440 0.00000000 -101.68304801
905123432 -0.00518805 -101.90981367
905167424 0.00000000 -102.07850385
905211416 -0.01191353 -102.29878587
905255408 0.00000000 -102.38655513
905299400 0.00000000 -101.15696649
905343392 -0.00097464 -101.29929451
905387384 -0.00026067 -101.41573711
905431376 -0.00006029 -101.66772284
905475368 -0.00356042 -101.84957078
905519360 -0.00348405 -102.09642279
905563352 -0.00970073 -102.18033536
905607344 0.00000000 -101.13568316
905651336 0.00000000 -101.32676864
905695328 0.00000000 -101.47913413
905739320 0.00000000 -101.66097850
905783312 0.00000000 -101.83924137
905827304 0.00000000 -101.98472044
905871296 0.00000000 -102.12569711
905915288 0.00000000 -100.86144190
905959280 0.00000000 -101.09447223
906003272 -0.00290506 -101.23211094
906047264 -0.00584094 -101.37453275
906091256 -0.01250343 -101.58329478
906135248 0.00000000 -101.74984302
906179240 -0.00774321 -101.86439092
906223232 0.00000000 -100.88072347
906267224 0.00000000 -100.96653454
906311216 0.00000000 -101.27721387
906355208 0.00000000 -101.39227394
906399200 0.00000000 -101.57876209
906443192 0.00000000 -101.71893422
906487184 0.00000000 -101.93705355
906531176 0.00000000 -100.81656356
906575168 0.00000000 -101.02013806
906619160 0.00000000 -101.25971154
906663152 0.00000000 -101.50886476
906707144 0.00000000 -101.50091146
906751136 0.00000000 -101.76845205
906795128 0.00000000 -100.61013537
906839120 0.00000000 -100.82540739
906883112 0.00000000 -100.96093471
906927104 0.00000000 -101.07262329
906971096 0.00000000 -101.24894617
907015088 0.00000000 -101.44855485
907059080 0.00000000 -101.58634332
907103072 0.00000000 -100.50381629
907147064 -0.00342402 -100.76551507
907191056 0.00000000 -100.84906827
907235048 0.00000000 -101.03760387
907279040 -0.01249749 -101.21620987
907323032 -0.01397761 -101.36874807
907367024 -0.02293883 -101.63426086
907411016 -0.01217103 -100.24085522
907455008 -0.00053825 -100.43613577
907499000 0.00000000 -100.64030607
907542992 -0.00087471 -100.78537015
907586984 -0.00224723 -100.97337587
907630976 -0.01356982 -101.13308878
907674968 -0.00985894 -101.25509959
907718960 -0.02060681 -100.45308752
907762952 -0.01567384 -100.59426788
907806944 -0.01652950 -100.70945401
907850936 -0.02818318 -100.90916080
907894928 -0.03506352 -101.04286360
907938920 -0.01593511 -101.28659154
907982912 -0.02614427 -101.39575865
908026904 0.00000000 -100.06124293
908070896 0.00000000 -100.21035699
908114888 0.00000000 -100.40829844
908158880 0.00000000 -100.58527642
908202872 0.00000000 -100.69774674
908246864 -0.00133041 -100.90691618
908290856 -0.00400476 -101.06192420
908334848 -0.02146018 -100.01367091
908378840 -0.01131408 -100.18797336
908422832 -0.01188740 -100.34616260
908466824 -0.01962930 -100.43737166
908510816 -0.02114697 -100.67490699
908554808 -0.00936528 -100.88353548
908598800 -0.01722455 -99.65010243
908642792 -0.02072093 -99.89106975
908686784 -0.02329880 -100.16357051
908730776 -0.02806105 -100.16836757
908774768 -0.02500796 -100.31765750
908818760 -0.00726088 -100.52263552
908862752 -0.02863761 -100.65388670
908906744 -0.03200936 -99.67954525
908950736 -0.02712133 -99.87444947
908994728 -0.03286696 -100.06475708
909038720 -0.02482338 -100.17978523
909082712 -0.03664609 -100.33328412
909126704 -0.03588669 -100.48624906
909170696 -0.03800983 -100.76230915
909214688 -0.03098850 -99.53651561
909258680 -0.04335221 -99.65982317
909302672 -0.04841621 -99.84677534
909346664 -0.03949039 -99.99918329
909390656 -0.05350523 -100.21482899
909434648 -0.04766797 -100.38839641
909478640 -0.05119193 -100.61053058
909522632 -0.05668938 -99.38065869
909566624 -0.07074160 -99.43258310
909610616 -0.07908563 -99.66530325
909654608 -0.06906414 -99.81110632
909698600 -0.07520475 -100.05059875
909742592 -0.07771035 -100.18181890
909786584 -0.09277050 -100.37406904
909830576 -0.06239802 -99.42017811
909874568 -0.08450576 -99.62985490
909918560 -0.08687733 -99.87081974
909962552 -0.08239088 -100.00395135
910006544 -0.09092477 -100.16456513
910050536 -0.08537901 -100.33984040
910094528 -0.08883555 -100.45298024
910138520 -0.06594815 -99.29779539
910182512 -0.08380883 -99.60544148
910226504 -0.08009628 -99.63693894
910270496 -0.06990397 -99.81439786
910314488 -0.07244032 -100.00123143
910358480 -0.08016408 -100.14312071
910402472 -0.09414692 -98.93658778
910446464 -0.08793733 -99.17246185
910490456 -0.09023053 -99.35165041
910534448 -0.08771854 -99.48593287
910578440 -0.09247524 -99.67628895
910622432 -0.09144357 -99.83609861
910666424 -0.09230460 -100.02988440
910710416 -0.09675135 -98.97778897
910754408 -0.09591651 -99.16096826
910798400 -0.10169785 -99.35726125
910842392 -0.09289712 -99.57683087
910886384 -0.11410052 -99.71314082
910930376 -0.10000828 -99.85043013
910974368 -0.10394947 -99.94671716
911018360 -0.07489696 -98.95133254
911062352 -0.07204731 -99.13570162
911106344 -0.06877428 -99.17778575
911150336 -0.07545726 -99.52283903
911194328 -0.08050603 -99.64531936
911238320 -0.08353706 -99.75679658
911282312 -0.08538704 -99.94562531
911326304 -0.11007707 -98.85442808
911370296 -0.09996328 -98.99106773
911414288 -0.11401390 -99.16528443
911458280 -0.11632823 -99.43463299
911502272 -0.11562932 -99.61169276
911546264 -0.12450467 -99.68737733
911590256 -0.12258176 -99.94616107
911634248 -0.12067734 -98.86340154
911678240 -0.11226105 -99.05750124
911722232 -0.11544610 -99.25790037
911766224 -0.12210791 -99.37811647
911810216 -0.11705631 -99.54312489
911854208 -0.10898561 -99.70593586
911898200 -0.11731316 -99.89002415
911942192 -0.13030523 -98.82830834
911986184 -0.12256932 -98.96353570
912030176 -0.13042081 -99.09993507
912074168 -0.12601133 -99.22630091
912118160 -0.13814275 -99.48085682
912162152 -0.13169212 -99.66711369
912206144 -0.16533341 -98.46732755
912250136 -0.16392614 -98.66833036
912294128 -0.15994065 -98.75532224
912338120 -0.17327396 -98.99515590
912382112 -0.18844680 -99.23262928
912426104 -0.17934837 -99.36428761
912470096 -0.16631854 -99.51023660
912514088 -0.15660501 -98.40932525
912558080 -0.16088983 -98.54927892
912602072 -0.16613902 -98.67166717
912646064 -0.16794643 -98.81001173
912690056 -0.17414570 -99.00872874
912734048 -0.17126966 -99.23338590
912778040 -0.18507761 -99.44524554
912822032 -0.15661818 -98.51948262
912866024 -0.15520444 -98.68238779
912910016 -0.15713041 -98.87904107
912954008 -0.17830757 -98.91653804
912998000 -0.17098417 -99.20749408
913041992 -0.18209334 -99.44000025
913085984 -0.16850544 -99.59048133
913129976 -0.17955006 -98.40229787
913173968 -0.18769859 -98.63579658
913217960 -0.19122943 -98.77818935
913261952 -0.18913990 -98.89186686
913305944 -0.19720981 -99.13963972
913349936 -0.19170230 -99.31808783
913393928 -0.20266049 -99.48486425
913437920 -0.19671580 -98.56792385
913481912 -0.18877356 -98.72203056
913525904 -0.19621563 -98.83720606
913569896 -0.20904310 -98.99093154
913613888 -0.18969558 -99.19247284
913657880 -0.20184785 -99.43764538
913701872 -0.20489305 -99.62458040
913745864 -0.21821154 -98.55625305
913789856 -0.21928996 -98.72387294
913833848 -0.22731057 -98.93240695
913877840 -0.22079127 -99.18489917
913921832 -0.23284593 -99.23520697
913965824 -0.23091388 -99.48340622
914009816 -0.20676397 -98.24867862
914053808 -0.20848329 -98.36962787
914097800 -0.20867245 -98.61758768
914141792 -0.21315845 -98.75791318
914185784 -0.20372362 -98.95455015
914229776 -0.21650635 -99.04909735
914273768 -0.21446577 -99.27822660
914317760 -0.22337140 -98.20410101
914361752 -0.21070877 -98.39329231
914405744 -0.23234600 -98.51984937
914449736 -0.23303394 -98.77046087
914493728 -0.22628823 -98.91835418
914537720 -0.23912222 -99.12666285
914581712 -0.22934912 -99.27609615
914625704 -0.25611315 -98.30446620
914669696 -0.27834869 -98.51368883
914713688 -0.27194778 -98.74268393
914757680 -0.28532398 -98.83376383
914801672 -0.29438693 -99.06711467
914845664 -0.27479906 -99.21946371
914889656 -0.27647767 -99.36014563
914933648 -0.26512652 -98.49324324
914977640 -0.26948828 -98.63255039
915021632 -0.26281475 -98.77317703
915065624 -0.26073008 -98.98779170
915109616 -0.27737393 -99.23755436
915153608 -0.27376249 -99.41109392
915197600 -0.27333300 -99.58581899
915241592 -0.28254479 -98.55162324
915285584 -0.27742555 -98.61883414
915329576 -0.28997015 -98.91959066
915373568 -0.30262553 -98.98867792
915417560 -0.29081671 -99.13472588
915461552 -0.29866180 -99.38002890
915505544 -0.29811285 -99.56722811
915549536 -0.32244504 -98.40717579
915593528 -0.30556408 -98.59276434
915637520 -0.31288196 -98.76886893
915681512 -0.30981695 -98.95424442
915725504 -0.32957133 -99.16267300
915769496 -0.31610645 -99.34332956
915813488 -0.33270999 -98.24180373
915857480 -0.32113389 -98.40372698
915901472 -0.34169504 -98.55496598
915945464 -0.33489659 -98.75268681
915989456 -0.33333986 -98.93583821
916033448 -0.33539651 -99.10080198
916077440 -0.34180797 -99.21289456
916121432 -0.33694740 -98.27593117
916165424 -0.34150070 -98.40748506
916209416 -0.35271840 -98.72789882
916253408 -0.34857512 -98.78272318
916297400 -0.35585863 -98.96607929
916341392 -0.35445617 -99.20916392
916385384 -0.35624656 -99.30845716
916429376 -0.34776683 -98.36897046
916473368 -0.33911831 -98.56629821
916517360 -0.34422606 -98.76115535
916561352 -0.34818432 -98.92520469
916605344 -0.36172589 -99.10785145
916649336 -0.35743731 -99.32971715
916693328 -0.36288972 -99.45993733
916737320 -0.36555995 -98.25590183
916781312 -0.37490422 -98.49288834
916825304 -0.36419523 -98.61523527
916869296 -0.36770372 -98.87433205
916913288 -0.36286186 -99.03468618
916957280 -0.38145237 -99.24885970
917001272 -0.37677979 -99.39615714
917045264 -0.38529295 -98.45862282
917089256 -0.37798489 -98.62060631
917133248 -0.37546096 -98.71981661
917177240 -0.39540512 -99.03611594
917221232 -0.37709677 -99.17259232
917265224 -0.40367974 -99.39988106
917309216 -0.39666640 -98.41174230
917353208 -0.39436007 -98.63877958
917397200 -0.39924936 -98.82574981
917441192 -0.40296669 -99.04941840
917485184 -0.40799613 -99.23455076
917529176 -0.39153129 -99.45681765
917573168 -0.41670322 -99.58170777
917617160 -0.41170458 -98.84652182
917661152 -0.42053117 -98.99687885
917705144 -0.40559480 -99.24380204
917749136 -0.40586703 -99.42694999
917793128 -0.41664581 -99.52160575
917837120 -0.42034343 -99.73346447
917881112 -0.41047117 -99.96644231
917925104 -0.42391590 -98.68284962
917969096 -0.44390219 -98.83729603
918013088 -0.42945567 -99.00088005
918057080 -0.43725140 -99.28202225
918101072 -0.43730490 -99.44246028
918145064 -0.45011303 -99.64461559
918189056 -0.43422050 -99.83480228
918233048 -0.41213366 -98.88890581
918277040 -0.40285644 -99.03880581
918321032 -0.40836918 -99.28036386
918365024 -0.42589672 -99.49416497
918409016 -0.41559160 -99.56378098
918453008 -0.41119793 -99.85260207
918497000 -0.40988395 -100.06538163
918540992 -0.45971619 -98.98663196
918584984 -0.44823817 -99.14601611
918628976 -0.44945757 -99.32162720
918672968 -0.45607328 -99.59345717
918716960 -0.46196782 -99.67446288
918760952 -0.45874478 -99.88285789
918804944 -0.46419034 -100.00625985
918848936 -0.41310958 -99.01371109
918892928 -0.40595392 -99.29073014
918936920 -0.41024169 -99.43141468
918980912 -0.41475063 -99.66836207
919024904 -0.41713005 -99.81254451
919068896 -0.40917990 -100.07582355
919112888 -0.40991342 -98.88219797
919156880 -0.42144782 -99.13126647
919200872 -0.40460271 -99.24531286
919244864 -0.41591169 -99.46838741
919288856 -0.41651173 -99.60066899
919332848 -0.41626570 -99.78819533
919376840 -0.42600846 -100.02170193
919420832 -0.47709911 -98.98671096
919464824 -0.48526868 -99.18590512
919508816 -0.48743316 -99.34850713
919552808 -0.48078321 -99.46361741
919596800 -0.47130148 -99.71638999
919640792 -0.48571956 -99.92089954
919684784 -0.48316281 -100.11666041
919728776 -0.46732898 -99.20231285
919772768 -0.47641874 -99.37949716
919816760 -0.46703435 -99.58110594
919860752 -0.47155007 -99.79943381
919904744 -0.47347113 -99.90128561
919948736 -0.46521795 -100.11355652
919992728 -0.47156905 -100.33702252
920036720 -0.46277850 -99.23501601
920080712 -0.46981676 -99.44714633
920124704 -0.48019005 -99.62346933
920168696 -0.47843976 -99.79861225
920212688 -0.47124768 -100.03626827
920256680 -0.46608325 -100.27855865
920300672 -0.47974674 -100.43206054
920344664 -0.45505746 -99.43249396
920388656 -0.46694404 -99.53811684
920432648 -0.46435392 -99.74557433
920476640 -0.45339111 -99.99391552
920520632 -0.46435463 -100.13524399
920564624 -0.47210126 -100.30267764
920608616 -0.46827050 -100.56469953
920652608 -0.46572233 -99.50551097
920696600 -0.47225474 -99.71586275
920740592 -0.46424753 -99.91097711
920784584 -0.46664123 -100.12842645
920828576 -0.46800141 -100.33252207
920872568 -0.47114587 -100.49968139
920916560 -0.45902703 -99.74370405
920960552 -0.46764464 -99.97512131
921004544 -0.46780200 -100.05806050
921048536 -0.46086025 -100.30582267
921092528 -0.46642000 -100.44197274
921136520 -0.46901019 -100.65294434
921180512 -0.46520001 -100.85978760
921224504 -0.48020575 -99.74704079
921268496 -0.47479507 -99.98382494
921312488 -0.48374291 -100.17068786
921356480 -0.48102324 -100.35337728
921400472 -0.48171921 -100.52406622
921444464 -0.47984252 -100.72775700
921488456 -0.47710059 -100.90567848
921532448 -0.47954913 -99.82171013
921576440 -0.48075732 -100.00174151
921620432 -0.49504687 -100.15035036
921664424 -0.49000815 -100.32796519
921708416 -0.47393169 -100.53534813
921752408 -0.49592175 -100.73123388
921796400 -0.49335488 -100.90697234
921840392 -0.47164792 -100.02298531
921884384 -0.47095971 -100.11264556
921928376 -0.48671798 -100.34029637
921972368 -0.48427535 -100.58320160
922016360 -0.48243781 -100.74786888
922060352 -0.47802355 -100.95138156
922104344 -0.48338771 -101.08372857
922148336 -0.44915498 -100.19379716
922192328 -0.44190799 -100.33572063
922236320 -0.44912852 -100.46486246
922280312 -0.44594160 -100.62648006
922324304 -0.45819514 -100.88155723
922368296 -0.44883504 -101.12108914
922412288 -0.44758828 -101.31710401
922456280 -0.46318203 -100.16095879
922500272 -0.46469261 -100.34456548
922544264 -0.48244643 -100.48257882
922588256 -0.46164549 -100.73156597
922632248 -0.48677627 -100.94799091
922676240 -0.47459658 -101.11595184
922720232 -0.49250672 -100.33349372
922764224 -0.48079556 -100.44219213
922808216 -0.49619543 -100.68681687
922852208 -0.48994019 -100.79215850
922896200 -0.49674829 -101.04774797
922940192 -0.48315145 -101.18345239
922984184 -0.49289905 -101.45853809
923028176 -0.49730178 -100.35937309
923072168 -0.50778168 -100.53658571
923116160 -0.48822705 -100.67644283
923160152 -0.49404847 -100.93714553
923204144 -0.48111609 -101.12924894
923248136 -0.49294049 -101.34354510
923292128 -0.49558300 -101.44637853
923336120 -0.47112354 -100.48763701
923380112 -0.48269940 -100.65039871
923424104 -0.47017389 -100.89987251
923468096 -0.47970119 -101.02369832
923512088 -0.46120311 -101.20554300
923556080 -0.48945014 -101.51938577
923600072 -0.47819905 -101.71802565
923644064 -0.48124837 -100.76529464
923688056 -0.47249120 -100.91598018
923732048 -0.48080978 -101.12805354
923776040 -0.47291264 -101.32266038
923820032 -0.47110736 -101.51776705
923864024 -0.47645632 -101.82185791
923908016 -0.47820535 -101.94836525
923952008 -0.46579216 -100.86252778
923996000 -0.47486220 -101.13485713
924039992 -0.47495042 -101.37359464
924083984 -0.47836252 -101.54436732