How to resolve "not enough input arguments" error

Answers (1)

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.

Asked:

on 7 Jan 2021

Answered:

on 7 Jan 2021

Community Treasure Hunt

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

Start Hunting!