Microwave engineering problem Matlab touchstone.m file is giving me issues due to inconsistent matrix dimensions. The first
Question:
Microwave engineering problem
Matlab touchstone.m file is giving me issues due to inconsistent matrix dimensions. The first row of my 3-D array table displays the S parameters. What I am confused about is how to enter the minimum noise figure, the optimum reflection coefficient, and the difference between the minimum noise figure and the required noise figure. These are their respective values:
Fmin=1.6dB
ropt=0.62*exp(j*100*pi/180)
Noise figure delta = 0.4 dB
How do I enter the minimum noise figure, the optimum reflection coefficient, and the noise figure delta in a second row to be consistent with the matrix dimensions of the first row shown below? First row has the S parameters.
S11=0.6*exp(-j*60*pi/180) S12=0.05*exp(j*26*pi/180); S21=1.9*exp(j*81*pi/180) S22=0.5*exp(-j*60*pi/180)
S(:,:,1) = [0.6*exp(-j*60*pi/180) 0.05*exp(j*26*pi/180); 1.9*exp(j*81*pi/180) 0.5*exp(-j*60*pi/180)];
The following table is how these parameters are supposed to be in a touchstone file, but I am uncertain of how to create the second row for consistent matrix dimensions. The problem statement is also shown below, along with a typical touchstone file.3-D matlab array with S parameters
S(:,:,1) = [0.80*exp(-j*89*pi/180) 0.03*exp(j*56*pi/180); 2.86*exp(j*99*pi/180) 0.76*exp(-j*41*pi/180)];
>> S(:,:,2) = [0.72*exp(-j*116*pi/180) 0.03*exp(j*57*pi/180); 2.60*exp(j*76*pi/180) 0.73*exp(-j*54*pi/180)];
>> S(:,:,3) = [0.66*exp(-j*142*pi/180) 0.03*exp(j*62*pi/180); 2.39*exp(j*54*pi/180) 0.72*exp(-j*68*pi/180)];
>> fMHz = 3000:1000:5000;
>> m = touchstone2('Ex12_3M2',fMHz,S)