Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

vflatten.m 181 B

12345678910111213
  1. function f = vflatten(m)
  2. % function f = vflatten(m)
  3. %
  4. % <m> is a matrix
  5. %
  6. % return as a column vector.
  7. %
  8. % example:
  9. % a = [1 2; 3 4];
  10. % isequal(vflatten(a),[1 3 2 4]')
  11. f = m(:);