using RF tool box,How to create a matrix ABCD with 4 complex vectors A, B, C and D

using RF tool box,How to create a matrix ABCD with 4 complex vectors A, B, C and D
file_name = 'Mixer_150_GHz_S_param_ret_P_Vb_650_mV';
ABCD_DUT_meas = abcdparameters([file_name(1,:),'.s2p']);
Y_pad_open = yparameters('open_9fF_s2.s2p');
freq = ABCD_DUT_meas.Frequencies;
Y_11 = rfparam(Y_pad_open,1,1);
Y_12 = rfparam(Y_pad_open,1,2);
Y_21 = rfparam(Y_pad_open,2,1);
Y_22 = rfparam(Y_pad_open,2,2);
A_pad_left = complex(ones(181,1));
B_pad_left = complex(zeros(181,1));
C_pad_left = Y_11+Y_12;
D_pad_left = complex(ones(181,1));

Answers (1)

I understand that you want to create a matrix ABCD with 4 complex vectors A, B, C and D. Based on the code snippet you posted, it appears that the admittance parameters 'y_params' are available. Using the function 'y2abcd', you are able to convert the admittance parameters y_params into the ABCD-parameters abcd_params.
For information about this function, please refer to the following link:

Categories

Find more on Data Import and Network Parameters in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!