A résolu


Check if an FAA N-Number is Valid
An N-number is a unique registration assigned by the Federal Aviation Administration (FAA) to every civil aircraft operating in ...

environ un mois il y a

A résolu


Choose group with people
How many ways can you choose n groups of n people from n^2 people, assuming the groups are distinct? The number of people is gi...

environ un mois il y a

A résolu


Create matrix with common dates from a number of structs -inner join on dates
Do an "inner join" (as in SQL) on a number of structs where the ".date" is the date and the ".ts" the timeseries. The join is on...

environ un mois il y a

A résolu


Write a function that gives the ReLU of the input.
The ReLU function is given by, In here, x input can be a scalar, vector or a matrix.

environ un mois il y a

A résolu


Percentage profit:6: Cumulative Interest
If a bank is giving r% yearly cumulative interest for deposit, how much money we can get by depositing x amount of money monthly...

environ un mois il y a

A résolu


Let's do Markov Chains!
Markov Chains are really useful in a lot of fields. This problem will ask a question about a simple system with 3 states: A,B an...

environ un mois il y a

A résolu


Compute Hamming distances between each pair of rows from two input matrices
For two input matrices _u_ ( _n_ x _uCols_ ) and _v_ ( _n_ x _vCols_ ) of numbers in range [0..255] (8-bit), such that each colu...

environ un mois il y a

A résolu


Linear Least Squares (L2 fitting problem )
Given a set of real measurements (x(i), y(i)) find a line sol(1)x + sol(2) (more specifically furnish the vector with...

environ un mois il y a

A résolu


Siblings of a graphics object
Given a valid, scalar, handle of a graphical object: find the set of all objects that have the same parent as the original that...

environ un mois il y a

A résolu


Binary code for an analog signal
Digitization of a signal consists of 3 stages: sampling, quantization and encoding. Sampling convert the analogue signal into p...

environ un mois il y a

A résolu


Dispatch and collect
Write a function that dispatches the single argument _x_ to multiple function handles (varargin) and concatenates vertically the...

environ un mois il y a

A résolu


Roman numbers: how old is that building?
The front of old buildings sometimes show the year when they were built in roman numbers. These number are rather confusing and ...

environ un mois il y a

A résolu


Takuzu row
Takuzu row is one row in a logic puzzle of a rectangular grid. The rules are as follows: (1) The row is filled with 1s and 0s...

environ un mois il y a

A résolu


Function Call Counter

environ un mois il y a

A résolu


Clear functions with the same name in different packages independently
See the test suite. N.B.: Overwriting files or functions a.k.a. cheating is not necessary.

environ un mois il y a

A résolu


Tracer un carré de côté a et de centre O
Définir une fonction carre qui prend en entrée un salaire a et un vecteur O de deux élements représentant les coordonnées cartés...

environ un mois il y a

A résolu


Boolean algebra
Your contractor from Elbonia has sent you the prototype of the new logical unit. It turns out that the only logical relation it ...

environ un mois il y a

A résolu


Singleton Expansion without BSXFUN
BSXFUN is very useful and fast. In R2015b we can implement singleton expansion without BSXFUN, see the test suite for details...

environ un mois il y a

A résolu


Derivative function
Given a function handle f, generate a function that evaluates the derivative of f Examples: f = @sin; df = De...

environ un mois il y a

A résolu


Find the area between curves (P4)

environ un mois il y a

A résolu


Find the area between curves (P2)

environ un mois il y a

A résolu


Multivariate polynomials - sort monomials
In <https://www.mathworks.com/matlabcentral/cody/problems/44260-multidimensional-polynomials-convert-monomial-form-to-array Prob...

environ un mois il y a

A résolu


Find a Hamiltonian Cycle in a Graph
You are given a graph g and asked to find a Hamiltonian cycle of g. See <https://www.mathworks.com/help/matlab/ref/graph.html...

environ un mois il y a

A résolu


Restricted Multiplication v1
This problem is Restricted Addition v4 with multiplication and more restrictions. multiply two inputs without use of common ari...

environ un mois il y a

A résolu


Restricted Subtraction v1
This problem is Restricted Addition v4 with subtraction and more restrictions. Subtract two inputs without use of common arithm...

environ un mois il y a

A résolu


Restricted Addition v4
This problem is Restricted Addition v3 with more restrictions. Also, you must handle matrices. Add two inputs without use of co...

environ un mois il y a

A résolu


Restricted Addition v3
This problem is <https://www.mathworks.com/matlabcentral/cody/problems/45258-restricted-addition-v2 Restricted Addition v2> with...

environ un mois il y a

A résolu


Restricted Addition v2
This problem is Restricted Addition v1 with more restrictions. Also, you must handle negative and non-integer values. Add two n...

environ un mois il y a

A résolu


N-Queens: Count All Valid Arrangements
The N-Queens puzzle places N queens on an N×N chessboard such that no two queens attack each other. A queen can attack another ...

environ un mois il y a

Charger plus