add option to extract RB matrix in octave format