Question


My array size is 32 x 240,now i want to pad zeros to make it as 192 x 240.How to do it using matlab code
x = [zeros(floor(ls/2),n) x zeros(ceil(ls/2),n)]; i am getting error as Error using horzcat Dimensions of matrices ...

9 years ago | 1 answer | 0

1

answer

Question


First, I want to divide binary image into 8 by 8 block.Second I want to perform rowise logical AND(1st AND 2nd,2nd AND 3rd .....so on ) and from that results i want to do XOR.Please help me with matlab code.
suppose i have 8 rows ,i need to do logical AND for first and second row,then second and third .....then neglect same vectors us...

9 years ago | 1 answer | 0

1

answer