Hey, hey!! solvers... I think that this problem is original enough earn a "like", isn't it??
My like should not help other players!! :-D
In the test code, did you really mean (/d*) and not (\d*) ?
Oh, right it's not html. Andrew, thanks for pointing that out, my bad.
What happens if I say
999999 players like this problem
lol never seen this type of problem before
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
this only works because the problem has been liked and it is happy about it :)
vectorization in N
Back to basics 7 - Equal NaNs
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Matlab Basics - Pick out parts of a vector
Arithmetic/geometric sequence, 50/50
Open coded lock.
Polite numbers. N-th polite number.
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