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 :)
Back to basics 13 - Input variables
Find the logic
Sum the numbers on the main diagonal
Matrix to column conversion
Integer or Float?
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