error: not enough input arguments
Show older comments
help , I'm new to MATLAB!! I am trying to run this code, however, i get error, that there is error in line 3: not enough input arguments :( function a = satur(u) if abs(u)> 0.001 a= sign(u); else a= u*1000; end end
Answers (1)
Thorsten
on 22 Oct 2015
You have to call the function with an argument, like
satur(23)
1 Comment
zoubaida mejri
on 22 Oct 2015
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!