help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a difficult homework


From: LucaLuca
Subject: a difficult homework
Date: Thu, 22 Aug 2019 02:24:53 -0500 (CDT)

hi, I want to vectorize it but it's so difficult


  c=magic(20)
  a=[ 20 41 45 50]
  b=[ 60 82 90 61]
  for i=1:length(a)
    x(i)=min(c(a(i):b(i)));
   endfor

i




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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