MATLAB: How can i reorder NxM matrix into a 1D array

MATLABmatrix manipulation

I am looking to take a sample matrix below. The matrix will be large and looking for fast and non looping solution. Thank you.
a=[1 2 3;4 5 6;7 8 9];
reshape it into:
b=[7 8 9 4 5 6 1 2 3];

Best Answer

Using the reshape (link) function:
b = reshape(a([3 2 1],:)', 1, [])
b =
7 8 9 4 5 6 1 2 3