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]
Back to basics 14 - Keywords
Flip the main diagonal of a matrix
Area of rhombus
05 - Vector Equations 2
Sum of integers numbers
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