Skip to content

Instantly share code, notes, and snippets.

@mattgaidica
Created November 26, 2018 01:16
Show Gist options
  • Save mattgaidica/0fb13574477579e913866b9a878f8062 to your computer and use it in GitHub Desktop.
Save mattgaidica/0fb13574477579e913866b9a878f8062 to your computer and use it in GitHub Desktop.
function p = prc(cols,rc)
% rc = desired [row,col] position of subplot
p = (rc(1) * cols) - (cols - rc(2));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment