Import data from Excel sheet and plot on Smith chart +3d plot

Thread Starter

visheshseshadri

Joined Jul 17, 2018
5
Hello,
My background in in RF but my matlab skills are limited. I have an excel sheet with data. I want to
1) Import the sheet into matlab
2) Plot Column I vs H
3) Plot Column D,E,F on 3d plot/surface plot/contour
4) Plot Columns I+jH on smith chart
I have made just a little progress. Please help me with #3 and #4.
Thanks. Please see the attachment of excel sheet. Please see my code below :
dataset = xlsread('DataAnalysis.xlsx','Sheet1');
x = dataset( : , 2);
y = dataset( : , 1);
figure(1);
plot(x,y,'r.-');
xlabel('R in ohm');
ylabel('X in ohm');
title('Resistance vs Reactance');
grid;
figure(2);
sm1 = smithplot(dataset);
 

Attachments

Top