已解决


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

2 months 前

已解决


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

2 months 前

已解决


Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...

2 months 前

已解决


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

2 months 前

已解决


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

2 months 前

已解决


Number of Circles in a Number
Given a number, return the number of closed 'circles' in the base 10 numerical representation. Note: the number 4 has no circ...

2 months 前

已解决


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

2 months 前

已解决


My wife's logic
Its is always the opposite of the causality law, that is to say the opposite of the implication relationship in math/logic terms...

2 months 前

已解决


Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...

2 months 前

已解决


Extra colors
Context In the RGB color system used by Matlab, the color is a 1 x 3 / row vector [R G B] with each value/component R, G, B in ...

2 months 前

已解决


Wheatstone bridge
Determine if a set of resistors maintain Wheatstone bridge equilibrium

3 months 前

已解决


num to char
make num into char

3 months 前

已解决


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

3 months 前

已解决


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

3 months 前

已解决


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

3 months 前

已解决


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

3 months 前

已解决


Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

3 months 前

已解决


Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...

3 months 前

已解决


Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

3 months 前

已解决


Find the Pattern 10

3 months 前

已解决


sum numbers to some value n
sum of numbers up to a value n

3 months 前

已解决


Calculate load on arm 1
A robot is designed with a motor directly attached at the pivot point of the lifting arm. The L inch arm has a weight of W1 lbs...

3 months 前

已解决


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

3 months 前

已解决


nam2
nam

3 months 前

已解决


num3
nam

3 months 前

已解决


num6
num

3 months 前

已解决


num7
num

3 months 前

已解决


num5
num

3 months 前

已解决


num10
123456

3 months 前

已解决


num4
nmjhg

3 months 前

加载更多