matlab - Undefined function or variable 'x' - Stack Overflow
https://stackoverflow.com/questions/5555166105.04.2019 · By default, eps is defined as 2.2204e-16 in MATLAB. So do not overwrite it with your variable and name it any word else. epsilon = 1e-6; Coming to your actual issue, pass x and y as input arguments to the MetNewtonSist function. i.e. define MetNewtonSist as:. function [x_aprox, y_aprox, N] = MetNewtonSist(F, J, x0, y0, epsilon, x, y) %added x and y and …
matlab - Undefined function or variable 'x' - Stack Overflow
stackoverflow.com › questions › 55551661Apr 06, 2019 · By default, eps is defined as 2.2204e-16 in MATLAB. So do not overwrite it with your variable and name it any word else. epsilon = 1e-6; Coming to your actual issue, pass x and y as input arguments to the MetNewtonSist function. i.e. define MetNewtonSist as: function [x_aprox, y_aprox, N] = MetNewtonSist (F, J, x0, y0, epsilon, x, y) %added x ...