해결됨

Check if integer

Given a vector of elements, determine if each element is an integer and return true or false accordingly.

8일 전

해결됨

Min by mean

Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

8일 전

해결됨

Sum of digits of powers of 2

Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

8일 전

해결됨

Chess probability

The difference in the ratings between two players serves as a predictor of the outcome of a match (the <http://en.wikipedia.org/...

8일 전

해결됨

Calculate Resistance 2

In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

8일 전

해결됨

Calculate Resistance

Calculate Resistance R of a linear conductor having resistivity p, length l and area A

8일 전

해결됨

Determine whether the number is multiple of 3 or not

Let a=6 and as 6 = 2*3 which means 6 is multiple of 3; return true if a is multiple of 3,otherwise false.

8일 전

해결됨

exactly?

given two strings of numeric expressions such as '1-7/14' and '11/22+0.2^2', return 1 if they are numerically exactly equal othe...

8일 전

해결됨

Reverse Concatenation

Suggest methods to form a Matrix after deleting one of the input's elements. Input should be element's position and output shou...

8일 전

해결됨

Selecting books on MATLAB for experts and beginners (blindfolded)

* Imagine you have been blindfolded and asked to pick up any two books randomly from the table. * There are n books suitable f...

8일 전

해결됨

Find the elements of a matrix according to a defined property.

From A = [5,2,3] and B = [1,2,3,4,5,6,7,8,9,10] produce a vector C where : C(1) is the sum of the first A(1) elements of B, ...

8일 전

해결됨

Volume of Cylinder

Compute the Circumference of a Cylinder given it's radius and height.Here x is the radius and y is the height

9일 전

해결됨

Find the biggest digit in a matrix

Write a function to find the biggest digit in a matrix; input -> a matrix output -> a digit For example; [12; 47;...

9일 전

해결됨

Second smallest number

What is the second smallest number in x? example: x = [1 2 3 4 5 6 7 8 9] y = 2

9일 전

해결됨

Throw common elements of two vector arrays in sorted manner

Throw common elements as output in sorted manner (acending order) of two given input vector arrays

9일 전

해결됨

Number Persistence

A number's persistence is the number of steps required to reduce it to a single digit by multiplying all its digits to obtain a ...

9일 전

해결됨

Matrix diagonalization

You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

9일 전

해결됨

length of string on cylinder

A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

9일 전

해결됨

Integer Sequence - 1

Check the test suite to determine the relationship between input integer scalar and output integer scalar.

9일 전

해결됨

intervals

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

9일 전

해결됨

Uniform binary crossover

Given two binary vectors, return the two children by combining the genes of them using a binary crossover mask. More informat...

9일 전

해결됨

"Power matrix" of two vectors

Given two row vectors x,y of lengths m and n (respectively), create an m x n matrix whose i,j entry is x(i)^y(j).

9일 전

해결됨

Perl 3: shift

_This is part of a series of perl function which were very helpful for many perl programmers. Could you implement it in Matlab?_...

9일 전

해결됨

Calculate the sum of two polynomials

Calculate the sum of two polynomials if they are written in notation with their coefficients. example: a=[3 4 5]; b=[...

9일 전