Finance Professor
Watch this Author's files
Check out riskydollar.com it gives risk neutral probabilities for public companies.
Description can be improved: (a) the probability is risk-neutral, and (b) T is horizon, not life span, which of course does not have to be 10 years, as the comment for some reason says.
A basic four-line calculation, with a helper function approximating normal CDF - why not use Matlab's 'normcdf'?
The code is very useful.
Contact us at files@mathworks.com