Community Profile

Contact

Top 5% contributor

Considering that you have 2 vectors _cos1_ and _cos2_ (of the same frequency) you can calculate their phase difference in rad us...

accepted

0

Answered 2 years ago

See the link below for a solution using _bintprog_ function. <http://stackoverflow.com/questions/15205928/find-the-combinatio...

Let us consider that we have a vector VEC. Is ther a way to find which vector elements can be grouped so as they sum up to a ...

4 Answers

Asked 3 years ago

Hello to all, I am trying to do some calculations with bessel function _besseli_ . The problem that I am facing is that the c...

1 Answers

Asked 2 years ago

Hello everyone, I am facing a problem and I would be grateful to anyone that could help. The problem is the following: Consid...

Hello to all, I am facing the following problem: Let us assume that we have a matrix A = [2 10;15 20;50 60;65 70;61 64;16 ...

*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

Solve this!

3 years ago

Given the input n, return true if n is odd or false if n is even.

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

Given a and b, return the sum a+b in c.

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Hello everyone, does anyone know why there is a limit at the number of variables (i.e. 65535) in function bintprog? If the...

1

See the answer given at the following link <http://www.mathworks.com/matlabcentral/answers/47404>

Answered 3 years ago

Thank you all for your time and great solutions. An issue remains... what if the original vector (vect) contains many element...