Effacer les filtres
Effacer les filtres

can someone explain the following code?

1 vue (au cours des 30 derniers jours)
Greg Biyu
Greg Biyu le 1 Fév 2019
Commenté : Greg Biyu le 3 Fév 2019
file name res.m
load vi.txt
zl=47:16:415;
imp=vi(:1)./vi(:2);
imp=app;
zz=zl*cos(48.0*pi/180);
rr=zl*sin(48.0*pi/180);
res=zeros(11,21)*NaN;
mm=0;
  5 commentaires
David Goodmanson
David Goodmanson le 3 Fév 2019
Hi Greg,
I guess that's why he's a supervisor. :)
The v/v line should be
vi(:,1)./vi(:,2)
and appears to be impedance = voltage/current, divided term-by-term. However, the very next line replaces imp with something else.
Greg Biyu
Greg Biyu le 3 Fév 2019
hi David
yeah you are right i've omitted it,it is vi(:,1)./vi(:,2)

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by