Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

sir i m getting error like this"Undefined function or variable 'kpl'."

조회 수: 1 (최근 30일)
vani shree
vani shree 2017년 3월 30일
마감: Sabin 2023년 3월 13일
sir i have run this code but it showing some error like undefined function. can u please help me to rectify this error.
Na=8;
Nr=8;
e=25;
% comparing interest points initialisation
ccmprh=zeros(size(kpl,1)-1,1);
ccmprw=zeros(size(kpl,1)-1,1);
lenkp=length(kp); % length of kp for 'for loop'
lencmp=length(ccmprh);
  댓글 수: 2
John D'Errico
John D'Errico 2017년 3월 30일
So define the variable kpl. You use it in your code. How can MATLAB know what kpl is, if you fail to provide it?
You may consider buying the mind reading toolbox. It is a new set of tools that allow MATLAB to know what you want to do, without your typing anything. It is very expensive though. :)
KSSV
KSSV 2017년 3월 30일
@John I am interested in buying it..;)

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by