# Sylvain Lacaze

### MathWorks

Followers: 0 Following: 0

**Statistics**

RANK**2,234**

of 295,098

REPUTATION**28**

CONTRIBUTIONS

**0** Questions

**9** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**4**

RANK**7,601** of 20,174

REPUTATION**123**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **2**

ALL TIME DOWNLOADS**1182**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

How to compute the height of a peak relative to the previous amplitude before the peak?

Hi Med, Can you trust that you want the amplitude with respect to the sample point prior to the peak? Something like: [~, pea...

5 years ago | 1

| accepted

integral2 array output

Hi HSch, Please refer to this answer, for an explanation, and alternatives: https://www.mathworks.com/matlabcentral/answers/69...

5 years ago | 0

Inputting known values and being able to select them depending on calculated value

Hi Finlay, You could turn pproject into a function: https://www.mathworks.com/help/matlab/ref/function.html Say: function Mr...

5 years ago | 1

| accepted

How do I refer to a previously defined argumentlist of symbolic variables while creating a Anonymous Function?

Hi Oliver, I might be off, but are you looking for something like this? f = @(varargin) cat( 2, varargin{:} ) f(1,2,3,4) Whi...

5 years ago | 0

Error in Joining multiple date time duration id date is in cell Array

Hi Matlab, You're overriding yourself: structtable.Date = duration(structtable.Date.Hour, structtable.Date.Minute, structtable...

5 years ago | 0

How to estimate the density threshold separately for each dimension.

Hi Silpa, In your code, your data variable is 336x7 such that data(i,:) is 1x7, causing the dimension mismatch error you're get...

5 years ago | 0

MATLAB http post and json request

Hi Mohammad, I would start with something like this: import matlab.net.http.* import matlab.net.http.field.* request = Req...

5 years ago | 0

| accepted

Handling errors of type application/json when using webread

Hi Ciaran, I'm not sure I completely understand what your API returns. It's not clear to me that the HTTP Response has a status...

5 years ago | 1

| accepted

Solved

TRON challenge

Create a solver for the classic arcade TRON game <<http://www.alfnie.com/software/figtron.png>> *Description* Your func...

6 years ago

Solved

Find common elements in matrix rows

Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

6 years ago

Solved

Kaprekar Steps

6174 is the <http://en.wikipedia.org/wiki/6174_%28number%29 Kaprekar constant>. All natural numbers less than 10,000 (except som...

6 years ago

Solved

Find the peak 3n+1 sequence value

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

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

6 years ago

Solved

Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

6 years ago

Solved

Read a column of numbers and interpolate missing data

Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

6 years ago

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

6 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

8 years ago

Submitted

SortingAlgorithms

An app to demonstrate the differences between sorting algorithms.

8 years ago | 2 downloads |

References for the new Graph and Network Algorithms package?

Hello Johannes, Here are some of the relevant references that were used to build the plotting routines: *Force*: * T. F...

8 years ago | 1

| accepted