Great Deal! Get Instant \$10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

# Assignment Guideline A. Purpose To write a MATLAB program to work on small-signal modeling, all the equations applied in the program will be shown in the following B. Materials provided 1....

Assignment Guideline
A. Purpose
To write a MATLAB program to work on small-signal modeling, all the equations
applied in the program will be shown in the following
B. Materials provided
1. Cold-pinchoff device measured S-parameters
2. Cold-forward device measured S-parameters
C. Requirements to for the program (Please follow them step by step)
1. Read in the Cold-pinchoff S-parameters
2. Plot the S-parameters in rectangular plot (X-axis: frequency (GHz), Y-axis: (dB))
3. Transform the S-parameters into Z-parameters
4. ?11 = ?? + ?? + ??(?? + ??) +
1
??
(
1
??
+
1
??
) + Î´??
?22 = ?? + ?? + ??(?? + ??) +
1
??
(
1
??
+
1
??
) + Î´??
?12 = ?21 = ?? + ??(??) +
1
??
(
1
??
) + Î´??
5. Plot the figure as shown below, the slope of the lines are the Ï‰??, Ï‰??, Ï‰??
The axis value are shown by the axis
6. Read in the Cold-forward S-parameters
7. Plot the S-parameters in rectangular plot (X-axis: frequency (GHz), Y-axis: (dB))
8. Transform the S-parameters into Z-parameters
9. Plot another figure as shown below, the slope of the lines are shown in the
figure also
The axis value are shown by the axis
10. Form an chart shows the value of Inductors and Resistors, also please derive
the capacitors
Then, put the value back to Imaginary part of Z-parameters, you can derive the
capacitors
Answered Same Day Jul 20, 2020

## Solution

Anupam answered on Jul 23 2020
Solution/MATLAB code/cold_forward.s2p
!S2P format file containing S-parameter Data (mag and phase)
!Lot ID:EP180E036
!Wafer ID:W5
!Fri Jan 6 09:45:57 2012
!Bias:VDS=0V;VGS=0V;IDS=0.028634mA;IGS=-2.8032E-005mA
# GHZ S MA R 50
2    0.9940143966    -16.75534299    0.01773147563    78.69431339    0.01755636334    78.47524043    0.7441267832    179.0247971
2.96    0.9881068709    -24.68281144    0.02564736802    73.91969554    0.02568679057    73.82990615    0.7440928313    178.5852274
3.92    0.9797146527    -32.38563825    0.03344427722    68.6399974    0.03327872874    68.3253878    0.7446038466    178.1891813
4.88    0.9698895768    -39.876186    0.04033817222    63.60455174    0.04047538273    63.52313448    0.7456285091    177.8162367
5.84    0.95945859    -47.04164371    0.04689555335    58.90515979    0.04699738406    58.57484393    0.7464231773    177.3684021
6.8    0.9480052651    -53.92948459    0.05274445815    54.26891346    0.05290939518    54.11992557    0.7472399641    176.9120673
7.76    0.9353282956    -60.48329621    0.05803452788    49.95819876    0.05816953811    49.73326414    0.748272773    176.4364911
8.72    0.9234417373    -66.71636264    0.06254904158    45.6893845    0.06280989713    45.7197428    0.7496857158    175.9710499
9.68    0.9109456442    -72.6067169    0.06672454923    41.83908493    0.06656906306    41.65729114    0.7515698636    175.5145745
10.64    0.9002759259    -78.12592796    0.07009879547    38.2322668    0.06976610038    38.00125034    0.7528075867    174.9695924
11.6    0.89035781    -83.38478858    0.07294505098    34.85566066    0.07290777576    34.9052865    0.7540303887    174.5166879
12.56    0.8811568891    -88.36466811    0.07533150328    31.71415283    0.07515917518    31.61759045    0.7553688715    174.0146166
13.52    0.8714907909    -93.03303614    0.07738036741    28.88615701    0.07732475629    28.56394304    0.7569551095    173.4299724
14.48    0.8625913087    -97.57076972    0.07903941141    25.84653945    0.07900490131    25.76948302    0.7582707855    172.9095933
15.44    0.854758314    -101.8383028    0.08035209363    23.28609642    0.08046367961    23.25779433    0.7610833754    172.433275
16.4    0.8478377341    -105.6575861    0.08166913721    20.83574225    0.08151372644    20.60779174    0.7609902063    171.9105295
17.36    0.8414046563    -109.4483108    0.08242026319    18.32764932    0.08240826366    18.31085813    0.7626287643    171.3718815
18.32    0.8348786031    -113.1950221    0.08341178972    16.48565224    0.08287977374    16.12182051    0.7653272801    170.8336285
19.28    0.8299687592    -116.4906477    0.08337718654    14.00632665    0.0832078156    14.3063612    0.76748452    170.3354422
20.24    0.8236683618    -119.7698854    0.08361986629    12.82026837    0.08359616923    12.25347834    0.7686893101    169.7317675
21.2    0.8174809462    -122.7622242    0.08354876532    10.51516783    0.08317560252    10.62707749    0.7701428018    169.1994222
22.16    0.8166899879    -125.7308244    0.08382370547    8.83773962    0.0837779286    9.25472625    0.7728421175    168.6821145
23.12    0.8123360833    -128.5482235    0.08370683007    7.900036446    0.08317409935    7.56114863    0.7738976783    168.0010123
24.08    0.8087389886    -131.1690437    0.08378340378    5.924483288    0.08348464938    6.367076559    0.7747682184    167.5020099
25.04    0.8067997301    -133.7509294    0.08347405604    5.204618472    0.08335224514    4.851616423    0.7758184868    166.9854611
26    0.8027485328    -136.2676928    0.08302875838    4.128563883    0.08314523159    4.7555681    0.7767790319    166.1269815
26.96    0.8014644526    -138.5581433    0.08308916427    3.1213161    0.08333754729    2.76535654    0.780698168    165.7247402
27.92    0.7990266836    -140.7862371    0.08330180014    1.823835734    0.08280410193    1.789906718    0.7796821279    165.1125348
28.88    0.7954733244    -142.9915938    0.08352607853    0.5076540699    0.08342601761    0.6995221492    0.7822432548    164.5394011
29.84    0.7954714265    -145.0613223    0.08392772744    -0.2031291236    0.0831491618    -0.1130299717    0.7835942856    164.0962653
30.8    0.7927817854    -146.9883577    0.08423348437    -1.37016613    0.08380028314    -1.309420676    0.7843593996    163.5040458
31.76    0.7903085788    -148.9789384    0.08317185822    -2.515697137    0.08307086093    -2.363380968    0.786250745    162.8176722
32.72    0.7919736628    -150.8066301    0.08406263585    -3.559143429    0.083968725    -3.226755529    0.7876943166    162.5920519
33.68    0.7906192577    -152.6209608    0.08312245009    -4.495704694    0.08318627898    -5.344053582    0.789644721    162.0670975
34.64    0.7879679082    -154.5831852    0.08335043612    -5.02017058    0.08341527632    -6.000779997    0.7921564521    161.2307006
35.6    0.7890974952    -156.1382911    0.08471385602    -6.302867013    0.08291820618    -7.244363367    0.7922124134    160.7044142
36.56    0.7865220779    -157.8575911    0.08331143274    -8.223958029    0.08341083917    -7.806621457    0.7947837371    160.0266987
37.52    0.7852262186    -159.6733101    0.08351194027    -9.655961608    0.08272444535    -10.09478339    0.7962750682    159.4313391
38.48    0.7864184445    -161.1755    0.08289697366    -10.48617099    0.0828359683    -11.32702426    0.8003018892    158.9787984
39.44    0.782588144    -162.4631326    0.08306152359    -11.15099089    0.08312661641    -11.46927678    0.7987710596    158.2335153
40.4    0.7868491161    -164.2792529    0.08165819823    -12.14616398    0.08081116863    -12.95448364    0.7995244819    157.2129191
41.36    0.7918408173    -165.4420782    0.0812622141    -12.41821586    0.08023151499    -11.7832734    0.8048675821    157.7322316
42.32    0.7824145255    -166.7046846    0.08100339447    -13.07550909    0.07955937299    -13.59113922    0.8020624119    156.5758211
43.28    0.7840835896    -168.0065102    0.07970636327    -14.21248735    0.07886223341    -13.74787555    0.8037010844    155.8515419
44.24    0.7834928376    -169.866615    0.07689158866    -13.95211574    0.07975022385    -14.28085269    0.8101839995    155.4129913
45.2    0.7857596255    -170.7923311    0.07785278824    -15.56710223    0.0797782962    -14.87018871    0.8061981429    154.9006896
46.16    0.7847086448    -172.5972034    0.07541190209    -17.84192678    0.08060494871    -15.69768518    0.8096961323    153.701502
47.12    0.7884240252    -174.0524009    0.07464234483    -19.25912052    0.07695403955    -17.2465915    0.8129618012    154.0928834
48.08    0.7818506343    -175.0469216    0.0783949595    -19.86421758    0.07485418169    -15.79139692    0.8109862604    153.5612674
49.04    0.7849481449    -176.2460839    0.08081341638    -13.36520829    0.07586087102    -19.90016936    0.8154782712    153.0561613
50    0.7778234895    -177.8639281    0.07224990428    -16.67924456    0.0789229466    -23.66075816    0.8170844731    152.6252794
Solution/MATLAB code/cold_pinchoff.s2p
!S2P format file containing S-parameter Data (mag and phase)
!Lot ID:EP180E036
!Wafer ID:W5
!Fri Jan 6 09:45:42 2012
!Bias:VDS=0V;VGS=-2V;IDS=0.00013924mA;IGS=-0.00019264mA
# GHZ S MA R 50
2    0.9970962639    -7.39625628    0.060899302    82.60232622    0.06072419977    82.60265414    0.9977775421    -6.773120087
2.96    0.9947805376    -10.99142926    0.09091814315    79.59863238    0.09093823876    79.64982839    0.9964448184    -10.04479621
3.92    0.9904011866    -14.5333662    0.1199618669    75.65571587    0.1197051971    75.62805301    0.992188882    -13.31561886
4.88    0.9844609401    -18.04570895    0.1481945865    71.98570843    0.1480122938    72.01246022    0.9867190427    -16.53322964
5.84    0.9779053609    -21.51124004    0.1754377791    68.40539304    0.1752246107    68.31070923    0.9811300727    -19.71040275
6.8    0.9704713252    -24.93156053    0.201811609    64.859007    0.2016476151    64.88741788    0.9744461191    -22.81243428
7.76    0.9616238346    -28.28189823    0.2272457592    61.41111141    0.2271733821    61.4166738    0.9669473693    -25.90597196
8.72    0.9524836521    -31.58679321    0.2515560586    58.05004933    0.2514002567    58.1264474    0.9590508662    -28.95471684
9.68    0.9425414429    -34.80768531    0.2745242533    54.70918851    0.2742725243    54.72852698    0.9495891587    -31.96517309
10.64    0.933101282    -37.95158635    0.2967393354    51.60196595    0.2963575554    51.56220574    0.9405559221    -34.81928843
11.6    0.9231742337    -41.04731953    0.3175974752    48.37425116    0.317379903    48.35214332    0.9317491842    -37.71929062
12.56    0.9132011172    -44.1551253    0.3373787484    45.27763834    0.3373296266    45.26578846    0.9231905945    -40.50617633
13.52    0.9017529575    -47.10095903    0.3560530306    42.22603912    0.3557307851    42.29319093    0.9142237104    -43.33088844
14.48    0.8904348007    -50.05662926    0.3737842349    39.23806957    0.3731368673    39.21636197    0.903707916    -45.94544147
15.44    0.8788865481    -52.94987412    0.3895822972    36.30258144    0.3896237968    36.23134608    0.8954034957    -48.62157502
16.4    0.869259992    -55.5841186    0.4047802847    33.45702955    0.4044591803    33.42749503    0.8850873272    -51.15971046
17.36    0.8579344642    -58.33227413    0.4187541031    30.70955728    0.4180755762    30.66756694    0.8762044374    -53.62463357
18.32    0.8472027655    -61.0492478    0.4322248513    27.83433809    0.4317546402    27.79856041    0.8667030072    -56.22880012
19.28    0.837110398    -63.61992178    0.4435137043    25.26370103    0.4429037518    25.20282433    0.8588854479    -58.54813679
20.24    0.8261101478    -66.1374377    0.4539182466    22.5832306    0.4534011189    22.56661505    0.848844333    -61.00223023
21.2    0.8148878089    -68.41098062    0.4637750361    20.02742664    0.4629030008    20.01249391    0.8420916258    -63.25663845
22.16    0.8086770722    -70.97972933    0.4730382024    17.58100266    0.4725024685    17.57830861    0.8346327271    -65.50124869
23.12    0.7992505174    -73.26781784    0.4810731867    15.10731112    0.480284215    15.07995879    0.826408348    -67.73107515
24.08    0.7921951369    -75.51940909    0.4876905491    12.70265958    0.4882695961    12.76806567    0.8206799424    -69.91751558
25.04    0.7851716094    -77.84801821    0.4946476774    10.46482811    0.4945259656    10.40810387    0.8149378381    -72.05629542
26    0.7737366971    -79.91426608    0.4991894158    8.217539348    0.4981665857    8.21325078    0.8042981354    -74.08473259
26.96    0.7702246601    -82.18006351    0.505570121    6.02548422    0.5052508017    6.011905529    0.8038380097    -76.33884389
27.92    0.7633375769    -84.29146076    0.5115190861    3.882753179    0.5103927497    3.839825838    0.7992669872    -78.28676327
28.88    0.7570255702    -86.31805871    0.5142885752    1.788631435    0.5139441627    1.864717887    0.7938509212    -80.29974
29.84    0.7529920009    -88.4486458    0.518202041    -0.4217817895    0.5172863987    -0.4123867376    0.7915636759    -82.49903575
30.8    0.7483387365    -90.38319631    0.5212756696    -2.331898304    0.5199625164    -2.334427069    0.7874178108    -84.33271112
31.76    0.7412260033    -92.29588996    0.5224401403    -4.261123743    0.5224851387    -4.237257127    0.7824768402    -86.30811076
32.72    0.7386067181    -94.40995954    0.5239710577    -6.262794427    0.5224321637    -6.166846847    0.782577958    -88.4402508
33.68    0.7348957877    -96.42084952    0.525960998    -8.327101253    0.5259202304    -8.22695227    0.7777374203    -90.4811256
34.64    0.7286972708    -98.28077357    0.5287506171    -9.766222824    0.5279080025    -9.936607656    0.7750199053    -92.20701978
35.6    0.7264276718    -100.2727549    0.5298869088    -11.57852495    0.5289517772    -11.75789233    0.7700324592    -94.28202099
36.56    0.720155032    -102.0041767    0.5305257907    -13.41429546    0.5302659059    -13.35324065    0.7680920556    -96.02092086
37.52    0.7160755415    -103.9533016    0.5307289011    -15.23173167    0.5299047176    -15.29365828    0.7630400395    -98.09770328
38.48    0.7137900922    -105.7529604    0.5312924665    -16.91737102    0.529427403    -16.92356079    0.7626822328    -99.86558812
39.44    0.7107927038    -107.2633712    0.5304692538    -18.41831503    0.5293887027    -18.37022866    0.7572701092    -101.4195285
40.4    0.7111020272    -109.447378    0.5297358721    -19.92297754    0.5319849426    -20.3269261    0.7544894541    -103.9974549
41.36    0.7108046747    -111.2770166    0.5299228329    -21.94361901    0.5296127108    -21.86455023    0.7597919926    -105.2341329
42.32    0.7038697523    -112.5501167    0.5316627866    -23.32689338    0.5301624177    -23.4255692    0.7543016459    -106.9041962
43.28    0.7013537227    -113.9083496    0.5304258515    -24.8436507    0.5310819689    -24.99227009    0.7516980063    -108.7313744
44.24    0.6990556252    -116.0761858    0.5283299343    -26.6250444    0.5294294087    -26.6448115    0.7534129257    -110.7334559
45.2    0.7021650833    -117.6174684    0.5298948954    -28.085195    0.5270591757    -28.01843326    0.7502122972    -112.1359379
46.16    0.6937790419    -119.2350291    0.5289573362    -29.92202517    0.5276460207    -29.64691047    0.7475490856    -114.0914308
47.12    0.6969629067    -121.2623363    0.5249408145    -31.69698321    0.5249077059    -31.5895892    0.7503569673    -115.5406144
48.08    0.6950712151    -121.8059355    0.5267691795    -33.75676654    0.524423593    -32.96319824    0.7529557546    -116.1942864
49.04    0.6954507319    -124.0024731    0.523079644    -34.72804593    0.5279732968    -34.62197571    0.7470135771    -118.6653372
50    0.6934366756    -125.2988185    0.5126956121    -34.86448755    0.5161516039    -35.42902476    0.7485372044    -120.3944892
Solution/MATLAB code/Image 1.png
Solution/MATLAB code/Image 2.png
Solution/MATLAB code/Image 3.png
Solution/MATLAB code/Image 4.png
Solution/MATLAB code/SXPParse.m
function [freq, data, freq_noise,...
SOLUTION.PDF