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...
Which values occur exactly three times?
The Hitchhiker's Guide to MATLAB
Angle between two vectors
Doubling elements in a vector
Flip the vector from right to left
Delete 2nd and 5th column of Given 6*6 matrix
Find Out sum of principal diagonal element of given matrix
Generate vector according to sign of vector
Find out sum of prime number till given number
Create vector as shown in test cases
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