解決済み


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

1年以上 前

解決済み


Degrees to Radian
Convert degrees to radians

1年以上 前

解決済み


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: ...

1年以上 前

解決済み


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...

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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,...

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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] --> ...

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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...

1年以上 前

解決済み


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

1年以上 前

解決済み


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...

1年以上 前

解決済み


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).

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

1年以上 前

解決済み


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...

1年以上 前

解決済み


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

1年以上 前

解決済み


Matrix Max Finder
Output the maximum value in a matrix

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

さらに読み込む