given a m*n grid
calculate the no of possible squares & rectangles on that grid.
output: y=[no of rectangles , no of sqaures]
Distance walked 3D
Triangle Numbers Below N
Number of Horns on a unicorn!
Piecewise linear interpolation
Return 'on' or 'off'
ZigZag - 01
Repeat elements of a vector
Decimal to binary conversion (without using built-in function)
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