Calculate the transpose of a matrix having complex numbers as its elements without changing the signs of the imaginary part.
e.g. a=[1+2i; 3-7i; 2i; 6]
Transpose(a) = [1+2i, 3-7i, 2i, 6]
Create a square matrix of multiples
Replicate elements in vectors
Basic arrays operations.
03 - Matrix Variables 1
Replace every 3rd element in a vector with 4
Create a v-notch vector without "sort" function
Best Fit RMS
Find and replaces spaces from a input string with *
Let's get back to school: create mixed numbered fraction
Find offset of an element of a multi dimensional matrix
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