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.

Matrix2Vector.m 202 B

1234567891011
  1. function Xvec = Matrix2Vector(Xmat)
  2. rowSz=size(Xmat,1);
  3. colSz=size(Xmat,2);
  4. Xvec=zeros(1,rowSz*colSz);
  5. for jj=1:colSz
  6. Xvec(rowSz*(jj-1)+1:rowSz*jj)=Xmat(:,jj);
  7. end
  8. end