finding the breakeven point

10 views (last 30 days)
joseph Frank
joseph Frank on 19 Apr 2013
I have the following equation:
I know every parameter except c, which is a breakeven point that I want to compute. i.e. I want the value of c that gives: nanmean(R(x0+1))-(fm1.*BHR)+(ntrades/2*n)*log((1-c)./log(1+c))=0;
does any one know how to do this using matlab?

Answers (1)

bym on 19 Apr 2013
Are you sure your equation is right? Anyway here is an example with a modified equation:
f = @(c) log((c-1)./log(1+c))
ans =

Community Treasure Hunt

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

Start Hunting!