Given the test suites, create a code that would fit them :) *Clue: Pascal's Triangle
Most nonzero elements in row
Replicate elements in vectors
Penny flipping - calculate winning probability (easy)
Implement zero-based indexing for Matrices
Recursion at variable input
Combine the digits to output numbers
Rotate matrix by -90 degrees
Convert radians to degrees
Upper Matrix in LU Decompositon
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