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...
Sum of diagonal of a square matrix
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Will there be a new leader?
Say something funny
01 - Scalar variables
Find out value of polynomial at different value.
Case-insensitive Character Detection
Converter temp 0 to 200 degree C to 4 to 20mA
Is it column vector?
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