cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

dftr Data Format

ppal
17-Peridot

dftr Data Format

ppal_0-1717637023059.png

 

ACCEPTED SOLUTION

Accepted Solutions
ttokoro
20-Turquoise
(To:ppal)

2 REPLIES 2
ttokoro
20-Turquoise
(To:ppal)

image.pngimage.pngimage.pngimage.pngimage.png

Werner_E
25-Diamond I
(To:ppal)

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.

 

 

Announcements

Top Tags