Skip to main content
Best answer by ttokoro

image.pngimage.pngimage.pngimage.pngimage.png

2 replies

ttokoro
21-Topaz I
ttokoro21-Topaz IAnswer
21-Topaz I
June 6, 2024
25-Diamond I
June 6, 2024

You can't use Sample[i (which is just a single scalar) in the "dftr" function (the argument must be a vector or matrix).

You have to use the "submatrix" command!

EDIT: Ah, ttokoro was faster 😉

 

Here is a suggestion for doing it:

Werner_E_0-1717648163754.png

The results are

Werner_E_1-1717648180464.png

 

Note that the range i must run up to rows(Sample)-12 and not up to rows(Sample)-1 as in your attempt.