0
Ukończony

Error occurs when multiplying function's results with mps - -

Harry Li 9 lat temu Ostatnio zmodyfikowane przez Pavel Holoborodko 9 lat temu 2
Image 5
All variables including d1n, d2n are mps, and N(.) is the normcdf written by myself.

Either (-n*cx)*(L2/L1)^(n*cx)/L1, or '( N(d1n)-N(d2n) )' can be shown on the matlab. But when I multiply them all, the result is error. Can someone help me with that?

The following is the function N(.)
Image 6
W trakcie analizy
Not sure where my answer disappeared.

Please use sym2mp(N(d1n)-N(d2n)) to convert "vpa" object to "mp".