Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!news.glorb.com!news2.glorb.com!postnews.google.com!z28g2000prd.googlegroups.com!not-for-mail
From: learner <learner388@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: choosing particular elements of a matrix
Date: Tue, 10 Feb 2009 03:19:10 -0800 (PST)
Organization: http://groups.google.com
Lines: 31
Message-ID: <3ad3d647-8b4b-44f7-8a34-57874e98d155@z28g2000prd.googlegroups.com>
NNTP-Posting-Host: 59.96.194.52
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1234264751 23006 127.0.0.1 (10 Feb 2009 11:19:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 10 Feb 2009 11:19:11 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z28g2000prd.googlegroups.com; posting-host=59.96.194.52; 
	posting-account=RLYSQwoAAACftXxopmIoVcU8h_nYYN-d
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) 
	AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.48 Safari/525.19,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:517269


Hi..!

I have a matrix of complex numbers, say a matrix of dimension 256x256.
I also have a  radius,r = sqrt((real)^2+(img)^2))i.e the absolute
value.

I want to set all the values of matrix from its center to the radius r
equal to another higher   value R. Please help.

Thank you