AnsweredAssumed Answered

matlab code for measuring S parameter using VNA through USB-GPIB

Question asked by taitai on Mar 20, 2018
Latest reply on Mar 27, 2018 by drkirkby

I have some problems with the matlab code for using VNA to measure S parameter using USB-GPIB.


VNA = instrfind('Type', 'gpib', 'BoardIndex', 8, 'PrimaryAddress', 16, 'Tag', '');

if isempty(VNA)

  VNA = gpib('agilent', 8, 16);

else fclose(VNA);

  VNA = VNA(1);





I am now doing a project involving measuring the s parameter.

I will appreciate anyone who can provide me a sample matlab code.