|
"Waldemar Krzok" <waldemar.krzok@ukbf.fu-berlin.de> wrote in message
news:41640E96.9070106@ukbf.fu-berlin.de...
>
>>>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?
>>>
>>>
>>
>>
>> Hi Lex,
>> You're clearly new to ML, and probably to programming. I strongly urge
>> you to read the getting started docs for this program. Besides Waldemar's
>> solution to your problem, ML has many ways of making dealing with these
>> kinds of problems a breeze. For instance:
>>
>> x = Summe(Summe>=25);
>
>
> he needs to compare Summe(:,1), but there are still many ways to do it.
>
> Waldemar
>
I guess I just don't understand his question. Or what Summe is, or what he's
trying to compare.
Brett
|