Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!news.glorb.com!news.aset.psu.edu!support1.mathforum.org!not-for-mail
From: kaancho <kaancho12@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: matlab code doesnt work
Date: Tue, 18 Dec 2007 16:40:02 EST
Organization: The Math Forum
Lines: 1
Message-ID: <10642267.1198014032538.JavaMail.jakarta@nitrogen.mathforum.org>
References: <fk2h5p$fa5$1@fred.mathworks.com>
NNTP-Posting-Host: nitrogen.mathforum.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: support1.mathforum.org 1198014032 11767 144.118.30.135 (18 Dec 2007 21:40:32 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Tue, 18 Dec 2007 21:40:32 +0000 (UTC)
Xref: news.mathworks.com comp.soft-sys.matlab:442948


thanks for all the replies. The code indeed works. For some reason when i had to close matlab and restart it to take the data properly...maybe like Roger said I need to initialize the array.