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]
Distance walked 2D
Decide whether determinant is zero.
Test Problem; Create a 5x5 array containing all ones
Return all matrix elements except elements on diagonal
Transpose the Matrix
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