Not enough input arguments error

Status
Not open for further replies.

Deekshak

Newbie level 1
Joined
Sep 16, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
7
I have made function y=F(x)
y=log(1-exp(-1/x))
end
In matlab but it generates not enough input arguments error.
 

Should we assume that you are inserting the non quoted above code ( below outlined ) into a .m file, or are you doing this straight in the command line?

Code:
function y=F(x) 
y=log(1-exp(-1/x))
end
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…