Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Division of a square
Date: Mon, 16 May 2011 17:39:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <iqrnfo$sh9$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1305567545 29225 172.30.248.46 (16 May 2011 17:39:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 16 May 2011 17:39:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2745945
Xref: news.mathworks.com comp.soft-sys.matlab:727069

Hi,
I have a square with vertices [ 0,0,1 ;  1,0,1 ; 1,1,1; 0,1,1]
I want to divide this square into n number of squares (lets say 16 squares). Could anyone tell me the simplest way to do it? 

thanks