NLSolve vs fsolve (matlab): What am I doing wrong?

hi!, can you provide your kappa, zeta, eta, beta parameters? i can’t reproduce your code without those. meanwhile, can you try using x0 = [10.0] instead?
Also, i recommend you to paste your code in triple backticks to make debbuging easier:

```julia
function f(x, y)
    x + y
end```

Please read: make it easier to help you

3 Likes