已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


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 前

已解决


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 前

已解决


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

2 years 前

已解决


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 前

已解决


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 前

已解决


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

2 years 前

已解决


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 前

已解决


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

2 years 前

已解决


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

2 years 前

已解决


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 前

已解决


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

2 years 前

已解决


Matrix Max Finder
Output the maximum value in a matrix

2 years 前

已解决


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

2 years 前

已解决


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

2 years 前

已解决


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

2 years 前

已解决


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

2 years 前

已解决


Divisible by 12
Write a function to determine if a number is divisible by 12. Similar to the number six, this can be done by checking for divisi...

2 years 前

已解决


Divisible by 10
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

2 years 前

已解决


Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

2 years 前

加载更多