已解决


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

6 years 前

已解决


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

6 years 前

已解决


Multiply Column
Given two input, one matrix and one scalar number For example A is a matrix given A = [ 1 2 2 5 2 5 2 3 4 6...

6 years 前

已解决


Find the index of nth maximum of a row vector of real numbers
Given a vector of real numbers x, find the index idx of _n_ th maximum value. If nth maximum occurs more than once, return the i...

6 years 前

已解决


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

6 years 前

已解决


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

6 years 前

已解决


square root
Find square root of given number

6 years 前

已解决


Counting the Grand Primes
A grand prime pair is a pair of primes, p1 and p2=p1+1000, such that both numbers are prime. Like a twin prime pair, where the d...

6 years 前

已解决


Degrees to Radian
Convert degrees to radians

6 years 前

已解决


Find the average of a random sequance
Write a function that generates random integers within a loop, and calculates the mean of the positive numbers only. At each ...

6 years 前

已解决


Create tangent function out of sine function only
Please don't use cosine and tangent functions

6 years 前

已解决


Create tangent function out of cosine only
Please don't use tangent and sine functions

6 years 前

已解决


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

6 years 前

已解决


0, 2, 0, -2, 0, 2, 0, -2, ...
Generate the first n terms of a periodic sequence defined as f(x) = 0, 2, 0, -2, 0, 2, 0, -2, ..., for x = 1, 2, 3, 4, 5, 6...

6 years 前

已解决


Separate even from odd numbers in a vector - with a loop
*Using a loop*, rearrange a vector of integers such that the odd numbers appear at the beginning, and even numbers at the end. T...

6 years 前

已解决


Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...

6 years 前

已解决


Radians to Degrees
Convert radians to degrees.

6 years 前

已解决


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

6 years 前

已解决


Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
Given the square root of a square number, *seed*, and a range, *n*, find the square number, *Z* as well as the other side, *y*, ...

6 years 前

已解决


Add a vector to a matrix
Given a matrix |mat| of size |mXn| and a row vector |v| of size |1Xs|, return a matrix with |m+1| rows that conatains |mat| over...

6 years 前

已解决


Bit calculation
Give me the count of numbers from 1 to n having their last two bits as 0. For example function y = ret_count(4) y = x...

6 years 前

已解决


Solving Quadratic Equations (Version 2)
Before attempting this problem, solve version 1: <https://www.mathworks.com/matlabcentral/cody/problems/2510-solving-quadratic-...

6 years 前

已解决


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

6 years 前

已解决


ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.

6 years 前

已解决


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

6 years 前

已解决


Diagonal Pattern
For a positive integer |n|, return an |nXn| matrix |mat| such that the value of each element in row |i| and column |j| is given ...

6 years 前

已解决


Vector pop
Take |n| elements from the end of the vector |v| and return both the shorten vector |v| and the |n| elements in a separate vecto...

6 years 前

已解决


Determine value using Look-up table method
Given a set of 2 vectors x and y related in a certain way, you are supposed to find value of y (ydash) given a particular value ...

6 years 前

已解决


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

6 years 前

已解决


Strange Number Algorithms
Three integer numbers will be provided to you. Write a function to Step1: Multiply first number by 3. Step2: Add 6 with t...

6 years 前

加载更多