Resuelto


Cellular Automaton | Rule X
Cellular Automata (CA) provide a convenient way to represent many kinds of systems in which the values of cells (either 0 or 1) ...

alrededor de 10 años hace

Resuelto


Probabilities - More brains than luck
This problem is related to problem <http://it.mathworks.com/matlabcentral/cody/problems/596-more-luck-than-brains> where the te...

alrededor de 10 años hace

Resuelto


Adding machine
Add number to all elements in given vector.

alrededor de 10 años hace

Resuelto


i forgot to use capital I
When referring to yourself you should write "I" (capital) and not "i". So correct the input string x, but be aware that other u...

alrededor de 10 años hace

Resuelto


isnan()
Replace all nans with zeros

alrededor de 10 años hace

Resuelto


Return strings encapsulated by braces
Return all substrings that are contained within braces ({}). For example: str = 'x = rho*x{-1} + (1-rho)*y{+1}'; when...

alrededor de 10 años hace

Resuelto


Convert decimal to hex as shown in test cases
Convert decimal to hex as shown in test cases.

alrededor de 10 años hace

Resuelto


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

alrededor de 10 años hace

Resuelto


How to find average of each column ?
How to find average of each column for a given matrix?

alrededor de 10 años hace

Resuelto


How find sum of elements of each column in matrix?
How find sum of elements of each column in matrix?

alrededor de 10 años hace

Resuelto


How many bottles
Sometimes if you buy a drink in a glass bottle you can return that bottle and get some money back. Let's assume we have "x" amo...

alrededor de 10 años hace

Resuelto


Magnitude of a vector
Given a vector x, what is its magnitude?

alrededor de 10 años hace

Resuelto


I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

alrededor de 10 años hace

Resuelto


Resort number using given index!
Resort matrix [a] using given index [b]. For example, if a=[2 5 3 5]; b=[4 1 2 3]; , the result is [5 2 5 3]. (hint: y...

alrededor de 10 años hace

Resuelto


Non trivial identities - flipping
Return x by flipping it.

alrededor de 10 años hace

Resuelto


Non trivial identities - reshape
Return x by reshaping it.

alrededor de 10 años hace

Resuelto


Non trivial identities - colon
Return x after treating it with colon.

alrededor de 10 años hace

Resuelto


Non trivial identities - linear system
Return x by solving a linear system.

alrededor de 10 años hace

Resuelto


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

alrededor de 10 años hace

Resuelto


Reduce the logic
We have three logical input, x,y and z. The output is: y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z) ...

alrededor de 10 años hace

Resuelto


product of given two numbers?
product of given two numbers?

alrededor de 10 años hace

Resuelto


how to round off a given number containing decimals?
how to round off a given number containing decimals?

alrededor de 10 años hace

Resuelto


How find minimum element of a column in matrix?
How find minimum element of a column in matrix?

alrededor de 10 años hace

Resuelto


Find max prime number
Given integer number n. Find the max prime number (mpn) that smaller than or equal to n. Example: n = 10 --> mpn = 7

alrededor de 10 años hace

Resuelto


Create Truth Table of Size according to input
Create a Truth Table Example: n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

alrededor de 10 años 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 10 años hace

Resuelto


Euclidean inter-point distance matrix
The Euclidean distance between two points in a p-dimensional space is a really common thing to compute in the field of computati...

alrededor de 10 años hace

Resuelto


A shooting competition
In a shooting competition, the target is a square of side L containing a circle of radius R<=L/2. A player scores one point if h...

alrededor de 10 años hace

Resuelto


Finding two missing number in 1 to n array
You are given an array of numbers from 1 to n with two missing numbers. Return the two missing numbers. Input: x=[5 2 0 1 ...

alrededor de 10 años hace

Resuelto


Set x value to each odd index of vector y.
Set x value to each odd index of vector y.

alrededor de 10 años hace

Cargar más