Import data from Excel sheet and plot on Smith chart +3d plot
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Visualization and Data Export dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!