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]
Getting the row and column location from a matrix
Reverse a matrix
Find out sum of prime number till given number
Transpose the Matrix
New Matrix with vector addition on diagonal
Return all matrix elements except elements on diagonal
Reverse the 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