my data matrix has 19 rows and 396 columns.
row 1=[0 -1 0 1......]
row 2=[1 0 -1 1 1 0...]
.
.
row 19=[1 -1 0 1 0 0..]
我应该如何使用Matlab中的绘图功能对此进行编码?如下:
if(bit==1)
X axis= X++;
Y axis= Y++;
/*graph will show increment by 1 */
else if (bit==-1)
X axis = X++;
Y axis = Y--;
/* graph will show decrements by 1*/