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

 Accepted Answer

Greg Heath
Greg Heath on 3 Nov 2013

0 votes

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

More Answers (1)

Adil
Adil on 2 Nov 2013

0 votes

Image is in the form of matrix.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 30 Apr 2012

Answered:

on 3 Nov 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!