MATLAB: Neural network

Deep Learning Toolboxneural network

sir, i want to know how to convert an image to an vector. and also i am having error as consider preallocating for speed. even though i used cell,zeros,ones how can i retrieve

Best Answer

avector = amatrix(:);
You will have to illustrate your preallocation problem.