Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab trouble
Date: Tue, 26 May 2009 17:19:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <gvh8a6$bbn$1@fred.mathworks.com>
References: <32183705.19504.1243341482025.JavaMail.jakarta@nitrogen.mathforum.org>
Reply-To: "Sadik " <sadik.hava@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243358342 11639 172.30.248.37 (26 May 2009 17:19:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 26 May 2009 17:19:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:542652


You should say 

zeros(L,1)

rather than

zeros(L)

since the first one gives you a vector of zeroes of length L whereas the second one gives you a MATRIX of size LxL. I hope this is the problem.

nordmoon <arianadax@gmail.com> wrote in message <32183705.19504.1243341482025.JavaMail.jakarta@nitrogen.mathforum.org>...
> Hi, 
> 
> I am working on a program in matlab and suddenly its not functioning good. I am working with very large vectors and I suddenly got a message that the vector was to big when creating a new vector double the size of the previous ones (using conv) and since then I won't plot previous calculations (even if I took away the code that gave this message)? I gives previous working vectors zero values and when I try to create them outside the file it don't work. Smaller vectors goes ok,. but I have created the previous one before without problem until I tried to create a new one with double the size. What can I do to get back and make the previous one function again?