Community Profile

# Sylvain Lacaze

### MathWorks

20 total contributions since 2016

View details...

Contributions in
View by

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

10 meses ago | 1

| accepted

integral2 array output

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

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

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

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

10 meses ago | 0

MATLAB http post and json request

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

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

casi 2 años 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 ...

casi 2 años 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...

casi 2 años 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...

casi 2 años 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...

casi 2 años 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 ...

casi 2 años 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...

casi 2 años 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...

casi 2 años 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:...

casi 4 años 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...

casi 4 años ago

Submitted

SortingAlgorithms
An app to demonstrate the differences between sorting algorithms.