A demonstration of how to use the optimization technique of gradient ascent

Context and Summary

This code shows the basic idea of gradient ascent. It uses the gradient ascent script gradient_ascent.m.

Livescript Code and Sample Output

download source