Error using ==> horzcat CAT arguments dimensions are not consistent. help please......

Hi, I am getting this error
??? Error using ==> horzcat CAT arguments dimensions are not consistent.
Could anyone please suggest how to resolve the same.
This is the program i have made.
% code
original=imread('rain.jpg');
a=double(rgb2gray(original));
%global typeDEC
level=2;w='db2';
[cA,cH,cV,cD]=lwt2(eka,w,level,'wp',typeDEC);
figure;imshow([cA,cH;cV,cD]);

 채택된 답변

The dimensions of cA and cH or cV and cD do not match up. Look at the output of this:
whos cA cH cV cD

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

2012년 9월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by