Solved


PEMDAS test
Create the function that will return the following expression for x and y. <<https://i.ibb.co/RHWyzrv/Code-Cogs-Eqn-1.gif>> ...

meer dan 4 jaar ago

Solved


Generate n equally spaced "intervals" between -x and x
Given n and x, return a list of numbers (in ascending order) that divides the interval [-x x] into n equal-length intervals. ...

meer dan 4 jaar ago

Solved


Create logarithmically spaced values
Given three numbers a,b,n with b>a, create a vector y with n logarithmic spaced values between 10^a and 10^b. Thus, if a = -2, ...

meer dan 4 jaar ago

Solved


Create a vector of n alternating ones and zeros
Given n, your output should be a vector y of numnbers such that the first number is 1 and the numbers following it alternate bet...

meer dan 4 jaar ago

Solved


Create a vector of the first n odd numbers
If n = 10, your program should return a vector y, where y = [1 3 5 7 9 11 13 15 17 19].

meer dan 4 jaar ago

Solved


Element-wise vector product
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

meer dan 4 jaar ago

Solved


Put two time series onto the same time basis
Use interpolation to align two time series onto the same time vector. This is a problem that comes up in <http://www.mathwork...

meer dan 4 jaar ago

Solved


Vector raised to a power (element-wise)
Given a vector A and a number x, raise each element of the vector to the power of x. Thus, if A = [2 5 7 1] and x = 0.5, then ...

meer dan 4 jaar ago

Solved


Create a vector with n repeated values of a number x
If x=3 and n=7 then the vector y would be y=[3 3 3 3 3 3 3]

meer dan 4 jaar ago

Solved


Create a vector of the first n naturnal numbers
If n = 7, your program should return a vector y, where y = [1 2 3 4 5 6 7].

meer dan 4 jaar ago

Solved


Product of a and b
return the value of c = a*b

meer dan 4 jaar ago

Solved


Joining Ranges
You are given a n-by-2 matrix. Each row represents a numeric range, e.g. x = [0 5; 10 3; 20 15; 16 19; 25 25] contains...

meer dan 4 jaar ago

Solved


4 Digit Sequence Repetitions
Given a 4 digit integer, a sequence can be created such that the next digit in the sequence is the ones digit from the sum of th...

meer dan 4 jaar ago

Solved


Quarantine Days
In these quarantine days, a list of what Max may do on a typical day is given in a table with the starting hour to ending hour. ...

meer dan 4 jaar ago

Problem


Quarantine Days
In these quarantine days, a list of what Max may do on a typical day is given in a table with the starting hour to ending hour. ...

meer dan 4 jaar ago | 1 | 13 solvers

Solved


Remove Missing Values from a Table or an Array
Remove missing entries from an array or table. If A is a vector, then remove any entry that contains missing data. If A is a mat...

meer dan 4 jaar ago

Solved


Is this group simply connected?
Given connectivity information about a graph, your job is to figure out if the graph is fully connected. You are given a list of...

meer dan 4 jaar ago

Solved


Juego de posiciones
Crea una función que ordene vectores de tal manera que los primeros números sean negativos ordenados de menor a mayor. Y después...

meer dan 4 jaar ago

Solved


Successive zeros
suppose n is the number of digits a number can contain. Now, 12032 - is a valid n=5 digit number. But 10023 - is defined a...

meer dan 4 jaar ago

Problem


Successive zeros
suppose n is the number of digits a number can contain. Now, 12032 - is a valid n=5 digit number. But 10023 - is defined a...

meer dan 4 jaar ago | 2 | 16 solvers

Solved


Capitalize
Capitalize the 1st letter of each input. Other letters should be lowercase. For example - a='alphaS' >> 'Alphas' a='1...

meer dan 4 jaar ago

Problem


Capitalize
Capitalize the 1st letter of each input. Other letters should be lowercase. For example - a='alphaS' >> 'Alphas' a='1...

meer dan 4 jaar ago | 2 | 24 solvers

Solved


Weighted Names
A cell is given which contains several names. You've to return those names sorted by their weight. Weight is to be calculate...

meer dan 4 jaar ago

Problem


Weighted Names
A cell is given which contains several names. You've to return those names sorted by their weight. Weight is to be calculate...

meer dan 4 jaar ago | 1 | 6 solvers

Solved


The Dark Knight
The current position of the knight is x The desired destination is y The size of the chessboard is n. Find the minimu...

meer dan 4 jaar ago

Problem


The Dark Knight
The current position of the knight is x The desired destination is y The size of the chessboard is n. Find the minimu...

meer dan 4 jaar ago | 2 | 10 solvers

Solved


Oxidation State
* In some chemical compounds, the oxidation state of each atom of hydrogen H is +1. * In some chemical compounds, the oxidation...

meer dan 4 jaar ago

Solved


Prime Sum
What is the minimum value that can be written as sum of primes in n different ways? For example, 10 is the minimum value th...

meer dan 4 jaar ago

Problem


Prime Sum
What is the minimum value that can be written as sum of primes in n different ways? For example, 10 is the minimum value th...

meer dan 4 jaar ago | 0 | 7 solvers

Solved


Find the path through the cell
A list of cells is given. Return true if the elements of the list increase monotonically (each element is strictly larger tha...

meer dan 4 jaar ago

Load more