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.

swap.m 150 B

123456789
  1. function [y,x] = swap(x,y)
  2. % function [x,y] = swap(x,y)
  3. %
  4. % assign <x> to <y> and assign <y> to <x>.
  5. %
  6. % example:
  7. % [x,y] = swap(2,3);
  8. % x==3 & y==2