Path: news.mathworks.com!newsfeed.mathworks.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!propagator3-cogent!news-in.nuthinbutnews.com!in.nntp.be!support1.mathforum.org!mathforum.org!approve!mailpost!not-for-mail
From: laux5101@gmx.net (Lex)
Newsgroups: comp.soft-sys.matlab
Subject: simple but urgent
Date: Wed, 6 Oct 2004 12:50:38 +0000 (UTC)
Organization: The Math Forum
Lines: 19
Sender: mail@support1.mathforum.org
Message-ID: <fz21vkbs48zl@legacy>
NNTP-Posting-Host: support1-2.mathforum.org
X-Trace: support1.mathforum.org 1097067038 26861 144.118.94.12 (6 Oct 2004 12:50:38 GMT)
X-Complaints-To: news@support1.mathforum.org
NNTP-Posting-Date: Wed, 6 Oct 2004 12:50:38 +0000 (UTC)
X-Received: (from approve@localhost)
	by support1.mathforum.org (8.11.6/8.11.6/The Math Forum, $Revision: 1.9  primary) id i96CocG26825;
	Wed, 6 Oct 2004 08:50:38 -0400
X-Delivery-Date: Wed Oct  6 05:37:34 2004
X-Authentication-Warning: legacy.mathforum.org: apache set sender to laux5101@gmx.net using -f
X-Path: epigone
X-Mailer: epigone
X-To: post-comp-soft-sys-matlab@mathforum.org
X-Epigone-thread: spunfrorgu
Xref: news.mathworks.com comp.soft-sys.matlab:233434



Hello,

x=zeros(1000,1);

for i=1:length(Summe)
%   for j=1:5
        if Summe(i,1)>=25, x=Summe(i,:)
        
%         & (B(j,1) >= 0) >= 3 ; 
end
end

Matlab gives me for x just one value (1x1), but there a many values in
'Summe' which are >=0 ???

And how can I predefine x without knowing the exact dimension of x
(lines) in advance?