Graph is undirected. (s,t) in node pairs.
Please, return full storage version of the matrix.(use full(A) )
s = [1 1 2 2 3 3 4 5 5 6 7 8];
t = [2 4 4 8 4 6 8 6 8 7 8 8];
Back and Forth Rows
Duplicate each element of a vector.
Reverse a matrix
Find the sum of the negative elements under the main diagonal.
Find the product of the positive elements above the main diagonal.
Calculate the centroid of a triangle
Solve the following boundary value problem
Return ! if array element starts with a certain letter. Otherwise return ?
Find matrix of indices for multidimensional matrix.
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