"Not enough input arguments" error when integrating a function
11 views (last 30 days)
I am trying to numerically integrate a function and keep receiving the error "Not enough input arguments."
while fun.m reads:
function [ y ] = fun( x ) y = x*2 + 1; end
What am I missing here? Thanks in advance!