Path: news.mathworks.com!not-for-mail
From: "Selwyna Bas" <gracelin@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to find Horizontal & Vertical Gradients?
Date: Sun, 6 Jan 2008 17:16:18 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <flr2d2$sqm$1@fred.mathworks.com>
References: <fd664390-3ad5-4a89-9f65-a824f963677c@q39g2000hsf.googlegroups.com> <flovn7$102o$1@f04n12.cac.psu.edu> <flq4nh$81v$1@fred.mathworks.com>
Reply-To: "Selwyna Bas" <gracelin@mathworks.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199639778 29526 172.30.248.38 (6 Jan 2008 17:16:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 6 Jan 2008 17:16:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1227919
Xref: news.mathworks.com comp.soft-sys.matlab:444549


What is the meaning of G = mask .* G;
Also explain whats the neccesity of this?
 x = rand(10);
> Ga = zeros(10); %preallocate
> DHa = Ga;
> DVa = Ga;
 pl explain.. 
Thanku for your help