Calculate the sum of the eigenvalues of A. If it's odd return cubed else return 54.
The Hitchhiker's Guide to MATLAB
Energy of a photon
Vectorize the digits of an Integer
Magic is simple (for beginners)
Multiply two polynomials p and q given in in vector representation.
Calculate the centroid of a triangle
Check if a string starts with another string
Solve the following system of equations.
Find matrix of indices for multidimensional matrix.
Find Adjacency 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