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.

creatcatcardeucl45.m 384 B

123456789101112131415161718
  1. function modelmat=creatcatcardeucl45
  2. th=[0 0 pi/2 pi/2 pi/2 pi/2 pi pi pi pi pi*1.5 pi*1.5 pi*1.5 pi*1.5 0 0]+pi/4;
  3. [x,y]=pol2cart(th',1); % draw unit circle in Cartesian coords
  4. xy=[x y]; % cat for easier indexing below
  5. for a=1:length(th)
  6. for b=1:length(th)
  7. modelmat(a,b)=norm(xy(a,:) - xy(b,:)); %euclidean
  8. end
  9. end
  10. end