wrong command in test suit.. it should be nth_root(x,n).. please fix it
fixed
function ans = nth_root(x,n)
nthroot(x,n)
end
my answer correct but fail test suit 3 fails help me
Find all elements less than 0 or greater than 10 and replace them with NaN
13263 Solvers
Which values occur exactly three times?
3882 Solvers
856 Solvers
Check if number exists in vector
5051 Solvers
Calculate square and cube of number
263 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!