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!! ;-)
Whether the input is vector?
Calculate the area of a triangle between three points
Create a v-notch vector without "sort" function
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