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.

BuildNetworkfromIdxs.m 398 B

1234567891011121314151617181920
  1. function [ WXj ] = BuildNetworkfromIdxs( Xj, GenMat)
  2. %BUILDNETWORK Summary of this function goes here
  3. % Detailed explanation goes here
  4. mm = size(Xj,1);
  5. nn = size(Xj,2);
  6. kk = size(GenMat,1);
  7. WXj = zeros(mm*kk);
  8. for ii=1:nn
  9. x=reshape(GenMat(:,Xj(:,ii)),kk*mm,1);
  10. WXj=max(WXj,x*x');
  11. end
  12. WXj=uint8(WXj);
  13. % imshow(1-WXj,[0 1])
  14. end