photo

victoria lwamba


Active since 2017

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


I am supposed to use Newton-Raphson:xi+1=(xi-f(xi))/f'(xi) to determine the roots, but it keeps telling me(Error in MuPAD command: Index exceeds matrix dimensions.) What do I do to fix this? and also what does this mean exactly?
function [root,ea,iter]=problem2(func,dfunc,tr,es,maxit,varargin) if nargin<3,error,end if nargin<4|isempty(es),es=0.0001;end...

4 years ago | 2 answers | 0

2

answers