Community Profile

# Jean-Marie Sainthillier

### Skinexigence

3.211 total contributions since 2012

View all

Contributions in
View by

Solved

Game of Nim
The Game of Nim is a famous studied 2 player strategy game. <http://en.wikipedia.org/wiki/Nim> There are 3 heaps, and you...

ongeveer 2 maanden ago

Solved

Square
square root of x

ongeveer 2 maanden ago

Solved

Find the mean of a 2-D matrix after excluding elements of specified sub-matrix
You need to find the mean of a 2-D matrix after excluding elements which form an inner sub-matrix. e.g. If the input 2-D matrix ...

ongeveer 2 maanden ago

Solved

Interpolate scattered data.
Most data was scattered, and there is no gird. There are three data [c] in three different area [x,y]. x=[1 3 4]; y=[1 ...

ongeveer 2 maanden ago

Solved

Sorting integers by their digits (Level 4)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42815-sorting-integers-by-their-digits-level...

ongeveer 2 maanden ago

Solved

Assignment Problem
Given a matrix where row i corresponds to person i, and column j corresponds to task j and cell (i,j) corresponds to the time ta...

ongeveer 2 maanden ago

Solved

Next lexicographic - permutation
Find next lexicographic - permutation (permutations as it would occur in a dictionary order). E.g: nextP('ABCD') = ABDC I...

ongeveer 2 maanden ago

Solved

Determine if input is a valid AHP evaluation matrix
Input is a matrix. Output is a true or false statement (1 or 0). Return true if input is a valid Analytic Hierarchy Process eval...

ongeveer 2 maanden ago

Solved

Outer product of multiple vectors
In tensor algebra, it is often useful to define a tensor as a product of lower order tensors. Similarly, a multidimensional arra...

ongeveer 2 maanden ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

ongeveer 2 maanden ago

Solved

Sort the prime numbers in each row of a 3x3 matrix
Considering a 3x3 matrix A, sort the prime numbers of each row in ascending order. For exemple: input A=[5 8 2 4; ...

ongeveer 2 maanden ago

Solved

Large Sum (inspired by Project Euler 13)
Your function will be provided an arbitrary number of numbers of arbitrary sizes as a cell array of strings. Some numbers will b...

ongeveer 2 maanden ago

Solved

Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

ongeveer 2 maanden ago

Solved

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

ongeveer 2 maanden ago

Solved

Calculate the Damerau-Levenshtein distance between two strings.
<http://www.mathworks.co.uk/matlabcentral/cody/problems/2303-compute-hamming-distances-between-each-pair-of-rows-from-two-input-...

ongeveer 2 maanden ago

Solved

Beauty of Parentheses
Given a string consisting of closed parentheses, form a string array in the following way so that the orders of these parenthese...

ongeveer 2 maanden ago

Solved

Triangle???
Calculate the circumference of an equilateral triangle with x

ongeveer 2 maanden ago

Solved

square a number twice with square root of 4/5
square a number twice with square root of 4/5

ongeveer 2 maanden ago

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

ongeveer 2 maanden ago

Solved

SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

ongeveer 2 maanden ago

Solved

Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

ongeveer 2 maanden ago

Solved

Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

ongeveer 2 maanden ago

Solved

Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

ongeveer 2 maanden ago

Solved

Sum sum!!!
Sum the numbers from 1 to n

ongeveer 2 maanden ago

Solved

factorial
calculate x!

ongeveer 2 maanden ago

Solved

time of day
Calculate the time of day in days, hours, minutes or seconds passed since the beginning of the day, depending on the unit. The u...

ongeveer 2 maanden ago

Solved

Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

ongeveer 2 maanden ago

Solved

Perimeter of a square!
Calculate the circumference of the square whose side is n

ongeveer 2 maanden ago

Solved

Repeat elements of a vector
Repeat each elements of a given vector according to their values. say x=[1,2,1,3] y=[1,2,2,1,3,3,3]

ongeveer 2 maanden ago