Resuelto


Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

alrededor de 1 año hace

Resuelto


Determine if x is a combination of m and n
Given positive integers x, m, and n, determine if x can be written as x = am + bn for any (non-negative) integers a and b. Your ...

alrededor de 1 año hace

Resuelto


Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....

alrededor de 1 año hace

Resuelto


Matrix Pattern 4

alrededor de 1 año hace

Resuelto


Matrix Pattern 3

alrededor de 1 año hace

Resuelto


Matrix Pattern 1

alrededor de 1 año hace

Resuelto


Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


Pascal's Triangle
Given an integer n >= 0, generate the length n+1 row vector representing the n-th row of <http://en.wikipedia.org/wiki/Pascals_t...

alrededor de 1 año hace

Resuelto


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

alrededor de 1 año hace

Resuelto


Create sequnce 1 4 9 16 25.........
Create sequnce 1 4 9 16 25......... upto entered input value using matlab scripting commands. Let y be output and x be input

alrededor de 1 año hace

Resuelto


Find the Pattern 9

alrededor de 1 año hace

Resuelto


Find the Pattern 8

alrededor de 1 año hace

Resuelto


Find the Pattern 7

alrededor de 1 año hace

Resuelto


Find the Pattern 6

alrededor de 1 año hace

Resuelto


Find the Pattern 5

alrededor de 1 año hace

Resuelto


Fangs of a vampire number
A vampire number is a number v that is the product of two numbers x and y such that the following conditions are satisfied: at ...

alrededor de 1 año hace

Resuelto


Find the Pattern 4

alrededor de 1 año hace

Resuelto


Find the Pattern 10

alrededor de 1 año hace

Resuelto


Dog Statistics
The vectors ht and wt contains the heights and weights of 20 golden retrievers. In some cases, it was not possible to make both ...

alrededor de 1 año hace

Resuelto


Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

alrededor de 1 año hace

Resuelto


Find the Pattern 3

alrededor de 1 año hace

Resuelto


Find the Pattern 2

alrededor de 1 año hace

Resuelto


Find the Pattern 1

alrededor de 1 año hace

Resuelto


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

alrededor de 1 año hace

Resuelto


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

alrededor de 1 año hace

Resuelto


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

alrededor de 1 año hace

Resuelto


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

alrededor de 1 año hace

Resuelto


row removal
Consider a matrix and remove the first row of the matrix.

alrededor de 1 año hace

Resuelto


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

alrededor de 1 año hace

Cargar más