input a part of matrix in objfun_chordfit

next step, i need to put a 1 bar lengh of chromsome in objfun_chordfit
to calculate every chromsome of times calculating of 1 bar length

so how could i input a part of matrix?