*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]
Change the sign of even index entries of the reversed vector
Create an index-powered vector
Determine the length of a string of characters
Matlab Basics - y as a function of x
Sum the squares of numbers from 1 to n
Find out rooms, peak to peak, average for a square wave.
Create vector as shown in test cases
Flip the vector from right to left
Transpose of matrix
Find 10's complement
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