문제를 풀었습니다


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

21일 전

문제를 풀었습니다


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

21일 전

문제를 풀었습니다


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

21일 전

문제를 풀었습니다


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

21일 전

문제를 풀었습니다


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

21일 전

문제를 풀었습니다


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

21일 전

문제를 풀었습니다


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

21일 전

문제를 풀었습니다


Function Call Counter

22일 전

문제를 풀었습니다


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.

22일 전

문제를 풀었습니다


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

23일 전

문제를 풀었습니다


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

23일 전

문제를 풀었습니다


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

23일 전

문제를 풀었습니다


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

23일 전

문제를 풀었습니다


Find the area between curves (P4)

24일 전

문제를 풀었습니다


Find the area between curves (P2)

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


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

24일 전

문제를 풀었습니다


Function minimization - global minimum
Sequel of problem 45951 <https://www.mathworks.com/matlabcentral/cody/problems/45951> Can you do even better, within the r...

25일 전

문제를 풀었습니다


Function minimization - beat fminsearch!
Sequel of problem 45948 <https://www.mathworks.com/matlabcentral/cody/problems/45948-function-minimization-beat-fminbnd> M...

25일 전

문제를 풀었습니다


Function minimization - beat fminbnd!
Matlab's fminbnd function finds a minimizer of a function within an interval. If often gets stuck in local minima. Can you do...

25일 전

문제를 풀었습니다


Bounding Circle
The Bounding Circle is the smallest enclosing circle to a given set of points on a plane <https://en.wikipedia.org/wiki/Smallest...

25일 전

문제를 풀었습니다


Least Absolute Deviations (L1-norm) line fit - degree n
This is a generalization of Problem 45851 for degree n <https://www.mathworks.com/matlabcentral/cody/problems/45851-least-abs...

25일 전

문제를 풀었습니다


Least Absolute Deviations (L1-norm) line fit - degree 1
Matlab's polyfit function is very handy to find least-squares regression. It minimizes the (L2-norm) of the estimation errors, b...

25일 전

더 보기