Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Curl
Date: Mon, 20 Feb 2012 23:13:11 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <jhuk27$8og$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1329779591 8976 172.30.248.45 (20 Feb 2012 23:13:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 20 Feb 2012 23:13:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3182553
Xref: news.mathworks.com comp.soft-sys.matlab:758281

Hi everyone. I am having trouble with the curl function in the following code:

-------------------------------------------------------------------
Iter = 10;
I = zeros(x,y);
sigma = 3;
G = fspecial('gaussian', 5, sigma);

for n = 1:Iter
A = conv2(I, G, 'same');
%B = curl of A.
end
-------------------------------------------------------------------

So not too complicated...but I would just like to find the curl of A. Can anyone help? Thanks!