% ------------------------------------------------------------
% MATLAB example on how to import and plot a Smith chart data
% file obtained with a HP54750A Network Analyzer and Agilent VEE.
% 
% NB: The format of the data must be real and imaginary parts in
% two semicolon separated columns.
% ------------------------------------------------------------

close all;
clear all;
clc;

data = importdata('HP8753B_Smith_Chart.txt'); %<!-- Change to your filename
real = data(:,1);
imag = data(:,2);
complex_data = complex(real,imag);

figure(1);
smithchart(complex_data);

% [EOF]