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.
Project Euler: Problem 8, Find largest product in a large string of numbers
chance in percent for minimum K heads when a good coin is tossed N times?
Given a window, how many subsets of a vector sum positive
Create a Multiplication table 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