You have
[root,iter,ea] = newtraphlab5(func,dfunc,Vo); % obtain the result
which refers to a function named newtraphlab5 .
You have
function [root,iter,ea] = newtraph(func,dfunc,xr,es,maxit)
which defines a function named newtraph .
It is an oddity of MATLAB that if the above function were the first function in a file named newtraphlab5.m then you would call it with the file name rather than the function name it is defined as being. However, if that is happening, chances are high that you have made a code mistake or a mistake in your MATLAB path.
