Solved


Kinetic Energy
Given mass, m, and kinetic energy, KE, find the velocity of the object.

2 years ago

Solved


Degrees to Radian
Convert degrees to radians

2 years ago

Solved


Make an identity matrix whose diagonal elements are 1:n
For a given input n, make an n by n identity matrix that contains the elements 1:n along its diagonal. For example, if input=5: ...

2 years ago

Solved


Where is the number that you want to find?
For a given matrix A, find where the input number x appears. Do this task by returning the vector which contains the row and th...

2 years ago

Solved


find the 'M'
for an input x, return 1 at the location of the letter 'M'

2 years ago

Solved


raise 1/3
Raise a number to 1/3 power.

2 years ago

Solved


Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

2 years ago

Solved


determine if
determine if the elements of a matrix is a nan and return true

2 years ago

Solved


Test Problem; Create a 5x5 array containing all ones
This is a test for learning the process of creating a Cody problem. The goal of this test problem will be to create an array,...

2 years ago

Solved


Convert degrees to radians
Given input in degrees, output to radians

2 years ago

Solved


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

2 years ago

Solved


Matlab Basics - Set unwanted parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. Example x = [1 2 3 4 5 6 7] --> ...

2 years ago

Solved


intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.

2 years ago

Solved


vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.

2 years ago

Solved


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

2 years ago

Solved


Find the sum of n squares
What is the sum of the squares of the first n integers?

2 years ago

Solved


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

2 years ago

Solved


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

2 years ago

Solved


true or false
if the matrix has a zero, return true. else, return false

2 years ago

Solved


Replace values under a limit
For a vector x and number n, the goal is to find every element of x inferior to n and replace it by n. Example x= [ 1 2 3...

2 years ago

Solved


Check if inputted variable is a string or a number
Check if a inputted variable is a number or a string, given a string input (i.e. '1' is 1 and thus a number, 'a' is a string).

2 years ago

Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

2 years ago

Solved


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

2 years ago

Solved


0<=x<=pi?
Check whether the given angle is between zero and pi. Return logical true or false.

2 years ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

2 years ago

Solved


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

2 years ago

Solved


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

2 years ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

2 years ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

2 years ago

Solved


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

2 years ago

Load more