Skip to content

Instantly share code, notes, and snippets.

@joastbg
Created October 31, 2015 18:04
Show Gist options
  • Select an option

  • Save joastbg/621efd86d66ba09e7666 to your computer and use it in GitHub Desktop.

Select an option

Save joastbg/621efd86d66ba09e7666 to your computer and use it in GitHub Desktop.
Orbital angular momentum
angles = @(j) acos(linspace(-j,j,j*2+1)./(sqrt(j*(j+1))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment