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.

creat_l_r_model.m 657 B

123456789101112131415161718192021222324252627
  1. function modelmat=creat_l_r_model
  2. th=linspace(0,2*pi,17);
  3. th=th(1:16);
  4. for a=1:length(th)
  5. for b=1:length(th)
  6. dife=(abs(angdiff(th(a),th(b)))); %minor difference since we are using euclidean distance
  7. m0(a,b)=abs((angdiff(th(a),th(b)))); %minor difference since we are using euclidean distance
  8. if th(a)>=0*pi&th(a)<1*pi
  9. if th(b)>=0*pi&th(b)<1*pi
  10. modelmat(a,b)=0;
  11. else
  12. modelmat(a,b)=1;
  13. end
  14. else
  15. if th(b)>=0*pi&th(b)<1*pi
  16. modelmat(a,b)=1;
  17. else
  18. modelmat(a,b)=0;
  19. end
  20. end
  21. end
  22. end
  23. % figure;imagesc(modelmat);
  24. end