Why the loop is not running?
이전 댓글 표시
The code (given below) has been made to run loop for a series of wavelets in 'ufwt' function. When I am running the code, it is showing error; but when i am using a specific wavelet replacing 'a', then the code is running. Kindly help.
the code as follows:
wt = ["db2";"db4";"db6";"db8";"db10"];
for i=1:5
a = wt(i) % Selection of wavelet according to the run number
[c,info] = ufwt(s,a,1);
snent(i) = wentropy(c(1),'shannon');
end
댓글 수: 3
Jan
2020년 12월 22일
A hint: Whenever you mention an error message in the forum, add a copy of the complete message. The information is very useful to solve the problem.
SOMALI ROY
2020년 12월 23일
Walter Roberson
2020년 12월 28일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!