if you have a new enough MATLAB.
I have a variable which is the vertical and horizontal projection of histogram data from digit 0 to 9. the matrix is 30×176. it has 30 row because each digit had 3 set. I need to use neural network to train these but I had no idea what to place in target data. What should the target data be? i tried to place binary number of digit 0 to 9 into the target data but it seems to be wrong because result shows 0.0%.
Neeta Dsouza answered .
2025-11-20
T = kron( (0:9).', ones(3,1) )
or
T = repelem((0:9).',3)