Updated to the correct syntax

This commit is contained in:
2018-09-22 16:25:48 -04:00
parent 3f00730c9f
commit 2f34971b55
4 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ function [xList, functionValueList] = Mullers(f, p0, p1, p2, errorAllowed)
%
%Make sure the number of arguments is correct
if(narginchk(5,5))
if(nargin ~= 5)
error('That is an incorrect number of arguments')
end
%A few necesary things before we get started