Path: news.mathworks.com!not-for-mail From: <HIDDEN> Newsgroups: comp.soft-sys.matlab Subject: Re: need help with distance of coordinates Date: Thu, 25 Nov 2010 00:50:04 +0000 (UTC) Organization: 국민대학교 Lines: 9 Message-ID: <ickbrs$qhd$1@fred.mathworks.com> References: <icioug$2l4$1@fred.mathworks.com> <icjlbs$j4$1@fred.mathworks.com> Reply-To: <HIDDEN> NNTP-Posting-Host: webapp-05-blr.mathworks.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fred.mathworks.com 1290646204 27181 172.30.248.35 (25 Nov 2010 00:50:04 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Thu, 25 Nov 2010 00:50:04 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 2412351 Xref: news.mathworks.com comp.soft-sys.matlab:689834 ok. it was my mistake i didn't give you enough explain. at first the values 'v' is the distance between two points on a coordinate. so i put one set of x1,y1 in rows and another x2,y2 are putted in columns. it doesn't matter if it could be calculated and made 16x9 matrix ,the x1,y1 can go on a cell together or two cells seperate. and i want to calculate all of the points one by one. so it will be given 144 values at all. the formula is ' v=sqrt((x2-x1)^2+(y2-y1)^2). at last i want remove specific values (ex, below 2) from the array that contains values. thank you.