p,q = 2 vectors of same or different length.
Get a Output Array which has all the possible combinations of Elements of vectors p and q
p = [1 2 3], q = [10 12]
Output = [1 10;2 10;3 10;1 12;2 12;3 12]
Convert a vector into a number
Who has power to do everything in this world?
Sum of the Matrix Elements
find the surface area of a cube
Transpose the Matrix
Return all matrix elements except elements on diagonal
Reverse the Matrix
New Matrix with vector addition on diagonal
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