Import data from Excel sheet and plot on Smith chart +3d plot
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Visualization and Data Export 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!