Given an input vector and position (which is zero based) output the value
x = [1 2; 4 5] pos = [0 1] value = 5
x = [1 2 3 4 5; 6 7 8 9 0] pos = [1 3] value = 9
Make one big string out of two smaller strings
Create an n-by-n null matrix and fill with ones certain positions
Number of odd and even elements within matrix
01 - Scalar variables
Multiply by 3
Recursion at variable input
Maximum sum from any 2 numbers with a variable number of inputs
Find my daddy long leg (No 's')
Create cosine function out of sine
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