Prev: Ctrl-c
Next: 16 bit two's complement
From: kunal varaiya on 27 May 2010 17:34 Hello!!! I have two matrix , one matrix cimage(:,:,u) and u =38 (1 ot 38 image) second matrix cimage1(:,:,u)and u=38 to 60 i wanna merge two matrix . how can i do that ? please help me !!!!
From: Walter Roberson on 27 May 2010 17:44 kunal varaiya wrote: > I have two matrix , > one matrix cimage(:,:,u) and u =38 (1 ot 38 image) > second matrix cimage1(:,:,u)and u=38 to 60 > > i wanna merge two matrix . NewImage = cat(3,cimage,cimage1) However, it is not clear whether cimage(:,:,38) and cimage1(:,:,38) are the same? If so, then instead use: NewImage = cimage; NewImage(:,:,38:60) = cimage1;
From: us on 27 May 2010 17:46 "kunal varaiya" <kvaraiya(a)gmail.com> wrote in message <htmogd$4pm$1(a)fred.mathworks.com>... > Hello!!! > > I have two matrix , > one matrix cimage(:,:,u) and u =38 (1 ot 38 image) > second matrix cimage1(:,:,u)and u=38 to 60 > > i wanna merge two matrix . > > how can i do that ? > please help me !!!! well... here at CSSM one would like to know: merge in what sense(?)... - eg, - append one to the other - change the content of a single image matrix, eg [img1,img2] or [img1;img2] - or... us
|
Pages: 1 Prev: Ctrl-c Next: 16 bit two's complement |