hi,
in idwt, there was an error while
y1=idwt(ca3+cd3);
y2=idwt(y1+cd2);
y3=idwt(y2+cd1);
the error was plus Matrix dimensions must agree. the size of y2 and cd1 differs by one. that is y2 size 252 and cd1 size 251.
how can eliminate that error. suppose if we want increase the size of 251 to 252. then what procedure i have to follow.
thank u in advance

 채택된 답변

Walter Roberson
Walter Roberson 2011년 10월 30일

0 개 추천

Well, you could do
cd1(252) = NaN
and then the sizes would agree. The final element of the result would then be NaN as well, which is probably a good reminder that it is not well defined to add two vectors of different sizes.

댓글 수: 1

thangam
thangam 2011년 10월 30일
thanks for ur help sir.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Call C/C++ from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by