![]() Now to convert the matrix ' x' to a row vector we need only slight modification of previous command command. > y=x(:) %suppose we store the resultant column vector in variable named 'y' Now to convert the matrix ' x' to a column vector we just need one command. Suppose you have a random 5 x 5 matrix generated by rand(5,5) function stored in variable ' x'. It has many applications in Sparse Signal Recovery & image processing also. This process is often called vectorization. ![]() ![]() ![]() The matrix will be converted to a n x 1 or 1 x n vector & sent element by element. This is particularly useful in communication where the data or here matrix has to be send serially.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |