Some numerical inaccuracies with the test case and the expected output!
float tolerance needed ?
I'm off by O(10*eps) from the test suite, can you possibly test isequal(single(fft(x)),single(y))
I don't know why regexp miss this ...
Very Nice solution!!
Ok! a little hack on this... ;-)
Jose', you've inspired me to make this a bit of a hacking competition. I'll update the test suite to address issues found, but will reward the first to find issues like you have by sending MathWorks swag (maybe a t-shirt or coffee mug, you'll have to try and see :-) Jose', yours is on the way.
I became my t-shirt and my basecap with the post for 3 days... THANK YOU!! ;-)
Determine if input is odd
Make a Palindrome Number
"Look and say" sequence
GJam 2014 China Rd B: Sudoku Checker
Find the treasures in MATLAB Central and discover how the community can help you!
Select a Web
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