Skip to content

Instantly share code, notes, and snippets.

@AlexJoz
Created November 26, 2015 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexJoz/46b489e2303cddb3c85f to your computer and use it in GitHub Desktop.
Save AlexJoz/46b489e2303cddb3c85f to your computer and use it in GitHub Desktop.
Function handle in Matlab
joz = @(k) k+1;
>> joz(1)
ans =
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment