Given an adjacency matrix of a simple undirected graph, find the number of connected components.
sum of first 'n' terms
Add a row of zeros on top of a matrix
Largest Prime Number
Find the product of a Vector
Determine if input is divisible by three.
Path of least resistance - Move all direction
Neither minima nor maxima
Diagonal of a Spiral Matrix
Generate Square Wave
Yet Another Path Finder
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