Community Profile # Sylvain Lacaze

Last seen: 22 days ago Active since 2016

#### Statistics

All
• • • • • • • #### Content Feed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

6 years ago

Submitted

SortingAlgorithms
An app to demonstrate the differences between sorting algorithms.

6 years ago | 2 downloads | 