Path: news.mathworks.com!not-for-mail
From: "anil " <anilkumar2249@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to create an array with 2 rows and 4096 columns for storing image intensity values  using for loops
Date: Sat, 3 Apr 2010 22:04:06 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 18
Message-ID: <hp8e0m$lu4$1@fred.mathworks.com>
References: <hp7muj$rcl$1@fred.mathworks.com> <hp7nqb$8q4$1@fred.mathworks.com>
Reply-To: "anil " <anilkumar2249@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1270332246 22468 172.30.248.38 (3 Apr 2010 22:04:06 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 3 Apr 2010 22:04:06 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2071308
Xref: news.mathworks.com comp.soft-sys.matlab:623211

"us " <us@neurol.unizh.ch> wrote in message <hp7nqb$8q4$1@fred.mathworks.com>...
> "anil " <anilkumar2249@gmail.com> wrote in message <hp7muj$rcl$1@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.