Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

@ whatupmatt , as an alternative, you can do K[1, -6:] = ones_matrix(1,6) and K[1, 40:44] = ones_matrix(1,4) A warning: remember that in Python the first row of the matrix is row 0, so K[1,...] modifies the second row.

@ whatupmatt , as an alternative, you can do do

K[1, -6:] = ones_matrix(1,6)

and

K[1, 40:44] = ones_matrix(1,4)

A warning: remember that in Python the first row of the matrix is row 0, so K[1,...] modifies the second row.