How can i calculate the N(d1) in the black scholes merton equation?

3 views (last 30 days)
i want to calculate the bsm equation but i dont know how to write the cumulative distribution

Answers (1)

nick
nick on 3 Oct 2023
Hi Georgios Mourozis,
I understand that you are facing an issue in writing cumulative distribution for calculation of black scholes merton equation.
The “normcdf” function can be used to calculate the cdf of standard normal distribution.
d1 = (log(S/K) + ( r + sigma^2)/2 *T ) / (sigma * sqrt(T))
N_d1 = normcdf(d1)
Hope it helps,
Regards,
Neelanshu

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!