How to resolve "not enough input arguments" error

10 views (last 30 days)
How can I solve this problem? I´ve tryed everything

Answers (1)

Star Strider
Star Strider on 7 Jan 2021
A guess:
[X,iter,erroX,erroF] = newtgen(@FXJV, ... );
↑ ← DENOTES FUNCTION HANDLE
It is probably necessary to create a function handle representation for ‘FXJF’ to include it as an argument to ‘newtgen’.
I obviously have no way of testing this, so I am posting it as UNTESTED CODE.

Community Treasure Hunt

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

Start Hunting!