Swap the input arguments
Back to basics 7 - Equal NaNs
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Find out missing number from a vector of 9 elements
Sum the elements in either diagonal of a square matrix
Calculate roots of polynomial given as vector array.
Display positive elements of matrix.
Pointwise multiplication of vectors.
For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
Select primes from the matrix.
Find the treasures in MATLAB Central and discover how the community can help you!
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