i am new to latex and how do O write this in latex please? I just know how to write simple matrices. This matix includes both horizontal and vertical dash lines and lower row has four columns. R(q) is 3x3 matrix and p(q) is a 3x1 matrix.

enter image description here


The arydshln package provides the command \hdashline (a generalization of \hline) and the intercolumn separator type : (a generalization of |). I suggest you use them in conjunction with nested array environments.

enter image description here

\usepackage{arydshln} % load *after* 'array'

 R(q)          & p(q) \\ \hdashline
     0 & 0 & 0
 \end{array}  & 1 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.