Community Profile

photo

Sylvain Lacaze

MathWorks

Last seen: 2 months ago Active since 2016

Statistics

All
  • Knowledgeable Level 2
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • First Answer
  • Solver

View badges

Content Feed

View by

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

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

7 years ago

Submitted


SortingAlgorithms
An app to demonstrate the differences between sorting algorithms.

7 years ago | 1 download |

Thumbnail

Answered
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