Append two matrix as shown below example
A=[1 2; 3 4] and B=[5 6;7 8]
Answer must be
1 2 5 6
3 4 7 8
You can add column like [x y] and row like[x;y]
you can do...[A B]
use [A B].. Enjoy...
Replace multiples of 5 with NaN
Output any real number that is neither positive nor negative
Create incrementing array
Sum the 'edge' values of a matrix
Convert to Binary Coded Decimal
Find out sum of all elements of given Matrix
Find out sum of prime number till given number
Flip the vector from right to left
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