Determine the square root of the value the user has entered, n.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers790
Suggested Problems
-
Extract leading non-zero digit
2244 Solvers
-
Get the length of a given vector
12993 Solvers
-
Create matrix of replicated elements
397 Solvers
-
560 Solvers
-
1014 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Hello Samantha,
I think you should change "assert(isequal(your_fcn_name(x),y_correct))
" to "assert(isequal(your_fcn_name(n),y_correct))"
I made the suggested change to the test suite and re-scored.