Import data from Excel sheet and plot on Smith chart +3d plot
11 views (last 30 days)
Show older comments
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);
0 Comments
Answers (0)
See Also
Categories
Find more on Visualization and Data Export in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!