[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a difficult homework
From: |
shivax |
Subject: |
Re: a difficult homework |
Date: |
Sat, 24 Aug 2019 23:26:52 -0500 (CDT) |
hi nrjank , thank you for answer
i found this solution :
(i try to use matrix this large matrix but the PC stops me for lack of
memory...i use pc portable intel i-5 with 8 giga Ram )
a1=fix(rand(225).*100);
a=a1(:);
b=1:50624;
b=b';
c=(1:50624)+1;
c=c';
cc=a.*ones(1,numel(b));
%d=cc(b:end)
g=(1:rows(cc))'.*ones(1,numel(b));
g1=g>=b&g<=c;
e=min(~g1.*max(cc).+g1.*cc)
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- a difficult homework, LucaLuca, 2019/08/22
- Re: a difficult homework, shivax, 2019/08/22
- Re: a difficult homework, mmuetzel, 2019/08/22
- Re: a difficult homework, Nicholas Jankowski, 2019/08/22
- RE: a difficult homework, Bård Skaflestad, 2019/08/22
- RE: a difficult homework, shivax, 2019/08/22
- Re: a difficult homework, Nicholas Jankowski, 2019/08/23
- Re: a difficult homework,
shivax <=
- Re: a difficult homework, Nicholas Jankowski, 2019/08/26
- Re: a difficult homework, shivax, 2019/08/27
- Re: a difficult homework, Nicholas Jankowski, 2019/08/27
- Re: a difficult homework, shivax, 2019/08/27
- Re: a difficult homework, Nicholas Jankowski, 2019/08/27
- Re: a difficult homework, shivax, 2019/08/27
- Re: a difficult homework, shivax, 2019/08/27
- Re: a difficult homework, Nicholas Jankowski, 2019/08/27
- Re: a difficult homework, shivax, 2019/08/27
Re: a difficult homework, bankomac, 2019/08/29