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 5 - Clipboard
Will there be a new leader?
04 - Scalar Equations 1
Sum of series II
Change matrix to vector
Reverse the Matrix
Return all matrix elements except elements on diagonal
Transpose 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