Given a list of ISBN's, check whether they're valid or not.
Prev Prob - https://www.mathworks.com/matlabcentral/cody/problems/45486
I saw you optimize it again, Binbin have to work harder...
cospi is some move indeed.Inspired by that, I used it in generating a checkboard matrix(cody problem 4).
wrote this just to see the leading solution. If you are looking for a good solution to avoid multiple if-else or try-catch, please redirect yourself to Solution 2249978.
Excellent work! It's good to see you back.
well this is triggered and inspired by the blog post of you and binbin!
haha, know this: after you post this solution, Binbin took a while to figure out how to beat this sol in size
and he actually did it.:)
Remove all the consonants
Sums with Excluded Digits
Back to basics 23 - Triangular matrix
Array of Ones
Find out Harmonic mean.
The length of the equal sides of an isoceles triangle is 'a'.For all the possible (integer) values of the remaining side,find the associated angles between the two equal sides.
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