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 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by