Solved


Determine Size of Matrix
Use any function that would output size of matrix

plus de 4 ans ago

Solved


Super Basic - 3 + true equals ??
Solve the title

plus de 4 ans ago

Solved


Get 1-4-3-4-4
Get the value of the indices in the title and assign it to an array

plus de 4 ans ago

Solved


Sum of the squares of optimus
Get the sum of the squares of primes given limit input x Ex. x = 10, output = 2^2 + 3^2 + 5^2 + 7^2

plus de 4 ans ago

Solved


Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

plus de 4 ans ago

Solved


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 x1 = 123444...

plus de 4 ans ago

Solved


Circular Shift Me
Given a vector v=[1 3 6 9 11], circular shift them while iterating m=[1 3 6 9 11; 11 1 3 6 9; 9 11 1 3 6; 6 9 11 1 3; 3 6 9 1...

plus de 4 ans ago

Solved


Ceil Me Now
Get the ceiling of the input matrix

plus de 4 ans ago

Solved


Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

plus de 4 ans ago

Solved


Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

plus de 4 ans ago

Solved


Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

plus de 4 ans ago

Solved


Modified Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 3 6 9 11; 0 0 6 9 11; 0 0 0 9 11; 0 0 0...

plus de 4 ans ago

Solved


Integrate Me
Given polynomial, output the integral (with k = 1 for simplicity purposes) Example: input = [2 1] % 2x+1 output = [1 1 1]...

plus de 4 ans ago

Solved


Derive Me Crazy
Given a polynomial, output its derivative. Example: input = [1 0 0] % x^2 output = [2 0] % 2x

plus de 4 ans ago

Solved


Create Truth Table of Size according to input
Create a Truth Table Example: n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

plus de 4 ans ago

Solved


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

plus de 4 ans ago

Solved


Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D Example in1 = [0 0 0] in2...

plus de 4 ans ago

Solved


Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables Example: xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...

plus de 4 ans ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

plus de 4 ans ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

plus de 4 ans ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

plus de 4 ans ago