I am writing a function and I would like it to only run if the input argument is odd, is there an easy to specifcy that the input must be odd.
MATLAB: Only accept odd numbered input arguments
functionMATLABmatlab function
functionMATLABmatlab function
Best Answer