Test Suite of assert(isequal(singular_value_of(x),sigma)); is non-functional. x is undefined. sigma lacks parameters or an assigned value. Is the quesiton what function to use? Then use strcmp(funct_singularity,'sigma')
Borrowed from master Alfonso...
Without sigma OK, but without x ?
hint: I learned this trick from FrequencyDomain by studying the testsuite in the get_me v4 problem (http://www.mathworks.com/matlabcentral/cody/problems/1752-get-me-v4-cody-hacking-challenge), there is a very specific protection there against the hack needed to solve the 'x' issue here...
Thank you for this hint. It's obvious that the get_me v4 problem frustrates me.
Finding Perfect Squares
Find the sum of the elements in the "second" diagonal
Back to basics 22 - Rotate a matrix
Replace May with April
Find the largest value in the 3D matrix
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office