Community Profile

# Nicolas Douillet

43 total contributions since 2017

View details...

Contributions in
View by

Question

Where is located the "auto generated HTML file" once you publish in Matlab file exchange ?
Hi, I am a contributor to the file exchange and I have one or two files which may worth being published (meaning with an onli...

24 days ago | 1 answer | 0

### 1

Submitted

Any 3D rotation
Performs 3D rotation of a single 1D, 2D or 3D vector or vectors array around any given 3D axis.

Submitted

isinconvexset
Function to check if a vertex is located inside or outside a given -open- convex point set

Submitted

logmspace
m base logspace

Submitted

Compute the centre and the radius of the sphere circumscribed to a given tetrahedron

Submitted

Discrete Coons patch
Compute control points coordinates of the Coons patch of a given (c1, c2, c3, c4) quadrangle

Submitted

anisotropic_ndgrid(xmin, xmax, nbsamples, Ndim, mode, pow)
Function to build an anisotropic grid in dimension Ndim favouring corners or centre.

Submitted

Sphere homeomorphic surface quasi isotropic sampling
Quasi isotropic sampling and mesh for sphere homeomorphic surfaces

Submitted

Torus homeomorphic surface quasi isotropic sampling
Function to isotropically sample a given torus homeomorphic surface

Solved

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4 months ago

Solved

The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

4 months ago

Solved

The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...

4 months ago

Submitted

sample triangle (regular / random)
A regular or random sampling for a triangle living in 2D or 3D space

Submitted

ndtrigrid
Build a regular triangular grid in dimension Ndim

Solved

Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

5 months ago

Solved

Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

5 months ago

Solved

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

5 months ago

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

5 months ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

5 months ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

5 months ago

Solved

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

5 months ago

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5 months ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

5 months ago

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

5 months ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 months ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

5 months ago

Solved

You just measured its surface area, that is the input.

5 months ago

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

5 months ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

5 months ago