Path: news.mathworks.com!not-for-mail
From: "james " <james.franklin.uk@googlemail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: if else - odd -even in Matlab
Date: Thu, 10 Mar 2011 15:41:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <ilareh$ep3$1@fred.mathworks.com>
References: <g7qesi$8nl$1@fred.mathworks.com> <ilapb1$nic$1@fred.mathworks.com> <ilaqgi$ckt$1@fred.mathworks.com>
Reply-To: "james " <james.franklin.uk@googlemail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1299771665 15139 172.30.248.37 (10 Mar 2011 15:41:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 10 Mar 2011 15:41:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2256701
Xref: news.mathworks.com comp.soft-sys.matlab:715056

oops

i meant a simple answer


add
 test=uint8(1); to the start