Skip to content

Instantly share code, notes, and snippets.

@swis
Created November 13, 2012 19:32
Show Gist options
  • Save swis/4067853 to your computer and use it in GitHub Desktop.
Save swis/4067853 to your computer and use it in GitHub Desktop.
function z = rosenbrock(x,y)
z = 10*(y-x^2)^2 + (1-x)^2;
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment