given a m*n grid
calculate the no of possible squares & rectangles on that grid.
output: y=[no of rectangles , no of sqaures]
Times 2 - START HERE
Extract leading non-zero digit
Get the area codes from a list of phone numbers
Given an unsigned integer x, find the largest y by rearranging the bits in x
Dice face matrix!
Can the knight take out the pawn?
Sum! Sum! Sum!
generate the matrix
Ugly numbers - 03
ZigZag - 03
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