|
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
[Prev in Thread] | Current Thread | [Next in Thread] |