From: anil on
how to create an array with 2 rows and 4096 columns for storing image intensity values using for loops
From: Sadik on
Hi Anil,

A = zeros(2,4096);

Best.
From: us on
"anil " <anilkumar2249(a)gmail.com> wrote in message <hp7muj$rcl$1(a)fred.mathworks.com>...
> how to create an array with 2 rows and 4096 columns for storing image intensity values using for loops

one of the many solutions

m=zeros(2,4096);
% -or-
mm(2,4096)=uint8(0);

us
From: anil on
"us " <us(a)neurol.unizh.ch> wrote in message <hp7nqb$8q4$1(a)fred.mathworks.com>...
> "anil " <anilkumar2249(a)gmail.com> wrote in message <hp7muj$rcl$1(a)fred.mathworks.com>...
> > how to create an array with 2 rows and 4096 columns for storing image intensity values using for loops
>
> one of the many solutions
>
> m=zeros(2,4096);
> % -or-
> mm(2,4096)=uint8(0);
>
> us
how to create an array with 2 rows and 4096 columns for storing image intensity values using for loops
>
thanq for ur reply..i tried it ... its not taking the intensity values of an image
actually my question is

1) create an array simin with two rows and having as many as the number of pixels.....
here i have taken 64*64 bit image.
From: anil on
"Sadik " <sadik.hava(a)gmail.com> wrote in message <hp7no5$808$1(a)fred.mathworks.com>...
> Hi Anil,
>
> A = zeros(2,4096);
>
> Best.

thanq for ur reply

i tried it... but it didnt take the image intensity values in columns
i tried a lot for this question given in my assignment ..
actually my question is to create an array simin with two rows and having as many as the number of pixels.
here i have taken 64*64 bit image
i have to read two rows with image intensity values in 4096 columns