필터 지우기
필터 지우기

can someone explain the following code?

조회 수: 1 (최근 30일)
Greg Biyu
Greg Biyu 2019년 2월 1일
댓글: Greg Biyu 2019년 2월 3일
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
David Goodmanson
David Goodmanson 2019년 2월 3일
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 2019년 2월 3일
hi David
yeah you are right i've omitted it,it is vi(:,1)./vi(:,2)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by