Could someone please explain what is the meaning behind the following sequences? I don't quite understand the meaning of the "ind" function.
Thank you!
P.S. I don't know whether it is worth mentioning, but the code was written using Octave.
————————-
indBl=[];%
if (Blt(1) == 1) indBl=[indBl 1]; endif (Blr(1) == 1) indBl=[indBl 2]; end%if (Blt(2) == 1) indBl=[indBl 2*NE1+1]; endif (Blr(2) == 1) indBl=[indBl 2*NE1+2]; end%if (Blt(3) == 1) indBl=[indBl 2*NE+1]; endif (Blr(3) == 1) indBl=[indBl 2*NE+2]; end
Best Answer