Not enough input arguments "Error using Cos"
uk.mathworks.com › matlabcentral › answersFeb 12, 2020 · MATLAB does not determine a new entry to start if the previous entry ends in one of the binary operators. 3+ 5 %all one expression. 3 + 5 %all one expression. 3 +5 %two expressions, 3 and +5. cos is not a binary operation, so. 3 + cos (x) is two entries, 3+cos and (x). In turn 3+cos is 3+cos () which is the function invoked with no arguments.