Community Profile

# Sylvain

726 2013 年以降の合計貢献数

#### Sylvain's バッジ

Double Deal
*Description* Given an input vector _v_, return the first element as the first output, the second element as the second outpu...

5年弱 前

Wilf-Zeilberger pairs
Take as inputs two functions _F_ and _G_, and two scalar values _n_ and _k_. Test whether the functions are candidates to be a W...

5年弱 前

Fill-a-pix - Solution Checker
<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/fill-a-pix/rules Fill-a-pix> is a logic puzzle game similar to Pic-a-Pix ...

5年弱 前

Tic-Tac-Logic - Solution Checker
<http://www.conceptispuzzles.com/index.aspx?uri=puzzle/tic-tac-logic/rules Tic-Tac-Logic> is a logic puzzle wherein a rectangula...

5年弱 前

Scrabble Scores - 3
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point dis...

5年弱 前

Scrabble Scores - 2
An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

5年弱 前

Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

5年弱 前

Figurate number triangle
Check whether the input matrix is a figurate number triangle: <http://mathworld.wolfram.com/FigurateNumberTriangle.html>

5年弱 前

Equidistant numbers containing certain value in an interval
Given a lower and upper bound of an interval, distance between numbers, and one particular number from that interval, create an ...

5年弱 前

Eight Queens Solution Checker
Write a function to verify whether an arrangement of queens on a chessboard is a valid solution to the classic <http://en.wikipe...

5年弱 前

Make a simplified barcode
Given an integer to encode, make a barcode using the following encoding scheme: * The bar code is made from the binary versio...

5年弱 前

speech compression
sir how to reconstruct the original signal from compressed signal by using speech file please give me some suggestions

5年弱 前

Determine if input is a perfect number
A <http://en.wikipedia.org/wiki/Perfect_number/ perfect number> occurs whent the sum of all divisors of a positive integer, exce...

5年弱 前

Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

5年弱 前

Specific toolboxes
Given a string that is the name of a MATLAB toolbox, return true if it is available on the Cody solvers evaluation system, false...

5年弱 前

sinus function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

5年弱 前

Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

5年弱 前

Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

5年弱 前

How many monitors are connected ?
How to obtain the numbers of monitors connected to your computer ?

5年弱 前

frame of the matrix
Given the matrix M, return M without the external frame.

5年弱 前

Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

5年弱 前

Replace all zeros and NaNs in a matrix with the string 'error'
Given a numeric input matrix A, possibly containing some zero values and some NaNs, replace any occurrences of zero or NaN with ...

5年弱 前

Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

5年弱 前

Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

5年弱 前

Factorial Numbers
Factorial is multiplication of integers. So factorial of 6 is 720 = 1 * 2 * 3 * 4* 5 *6 Thus 6 factorial = factorial(720)....

5年弱 前

Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

5年弱 前

The Dark Side of the Die
It is well-known that opposite sides of a classic hexahedral die add to 7. Given a vector of dice rolls, calculate the sum of th...

5年弱 前

Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.

5年弱 前

Max of a Vector
Write a function to return the max of a vector

5年弱 前

commutative?
Given the handle to a binary function that takes two ordinary numbers, test if the function is commutative.

5年弱 前