When I execute the following command:
r = nthroot(1,2)
I receive the following error message:
??? Error using ==> nthroot If X is negative, N must be an odd integer.
However, my value for X is not negative.
errorintegerMATLABnegativenthrootodd
r = nthroot(1,2)
??? Error using ==> nthroot If X is negative, N must be an odd integer.
Best Answer