*Add one raw in given matrix as shown in example*
A=[1 0;0 1]; X=[3 5];
Answer must be:[1 0; 0 1;3 5]
Find the sum of the elements in the "second" diagonal
Angle between two vectors
Will there be a new leader?
Symmetry of vector
Area of a circle
Count number of words in string
Find the mode of the given input
Check transmitted data follow even parity (True or false)
Find out total non zero element of matrix
Average speed for the entire trip
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