help-octave
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]