Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

here's the problem:

 m = m.reshape(1,200); // 200 rows

this makes a "vertical" vector, if you wanted Ml.ROW_SAMPLE you need a "horizontal" one:

 m = m.reshape(1,1); // 1 row

here's the problem:

 m = m.reshape(1,200); // 200 rows

this makes a "vertical" vector, if you wanted Ml.ROW_SAMPLE you need a "horizontal" one:

 m = m.reshape(1,1); // 1 row

it also needs:

xx = xx.reshape(1,1);