# Mathieu NOE

### Hutchinson

Engineer - mechanices /ekectronics / signal processing

Average matlab user for 20 years now.

Professional Interests: signal processing, adaptive control, noise and vibration processing

**Statistics**

RANK**54**

of 257 630

REPUTATION**2 850**

CONTRIBUTIONS

**1** Question

**1 089** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**243**

RANK

of 17 752

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 109 909

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How do i count the signal within a certain time interval?

hello below a demo code that look for crossing point between a chirp signal. We detect both the positive and negative slope cr...

5 jours ago | 0

Calculate peak of pulses above certain threshold

hello @Chunru : why the envelop ? this can create enough signal distorsion so that the peak instant is misread. I understand ...

6 jours ago | 0

| accepted

Find the max width of a peak

hello Nigel maybe there is some way to make findpeaks compute the prominence in a manner that better works on this example , b...

6 jours ago | 0

How to extract time period of sensor signals

hello see my demo below - for constant and non constant frequency signals. the last plot shows the time diffeence between the ...

6 jours ago | 0

table import in more columns

hello maybe this will help you to get your data as you want : load('ModellDDOKLL2table.mat') C = table2array(ModellDDOKLL2t...

7 jours ago | 0

| accepted

User input compared with excel sheet data and returns best fit

hello was a nice recreation task.... here a small demo (the excel file is attached) % Import the data data = readcell("CARS....

7 jours ago | 0

| accepted

Curve fitting for jonscher power law

hello my suggestion - and because I don't have the Curve Fitting Tbx, simply with fminsearch i prefered to look at the data i...

7 jours ago | 1

I keep getting undefined input error

hello you want to request a string not a number , so the correct code is : Grade = input('Enter letter grade for course: ',"...

7 jours ago | 1

Estimation of Pitch from Speech Signals Using Autocorrelation Algorithm

hello this is a modified version of the code . The autocorrelation ouput will have a major peak at sample = M (x axis) and is ...

7 jours ago | 0

How can I create a for loop using simulated data for the start of frequency analysis?

hello see code correction below ; there is only one for loop as we add the new signals on the 60 Hz + noise signal created bef...

8 jours ago | 0

How To Approximate Data With Model

hello maybe this ? clc clearvars realdata=readmatrix('RATM.csv'); Year=realdata(:,1); realgA=realdata(:,2); TFPmodel...

8 jours ago | 0

| accepted

Content and rate of change in a buffer

hello IMHO, the non uniform x spacing is prone to bug - so I prefered to resample the data with constant x spacing . Now I w...

8 jours ago | 0

How to use readtable when skipping every second (non-data) line?

hello try this T = readtable ('samplefile.txt', 'NumHeaderLines', 8,"Delimiter",' '); [m,n] = size(T); select_rows = 1...

8 jours ago | 0

how to obtain the impulse response of halfband FIR filter

hello by definition H1 array is your impulse response (a FIR filter coefficients array is its impulse response) clc; close...

8 jours ago | 0

This code shows the FIR filter magnitude response with the normalized frequency from 0 to pi, how i can make mirroring of this magnitude response to start from -pi to pi ??

hello here you are (nothing fancy !) clc; close all; clear all; n1= 15; %order Fs= 100; %sampling frequency fc= Fs/4; %c...

8 jours ago | 0

getting an error in this code

hi here you are sx = (1:8); px = [0.15*ones(4,1), 0.1*ones(4,1)]; gx = (sx<=5).*(105*sx-5*(sx.^2)) + ((sx>5).*500); sy = u...

18 jours ago | 0

How to constraint the values of fitted parameters with lsqcurvefit?

hello I admit, my solution is the "poor man" solution as I don't have the optimization toolbox. But even with fminsearch I cou...

18 jours ago | 0

How to calculate the width where the intensity is higher than 20% of the maximum intensity?

hello Angelo I have no doubt you can use findpeaks but sometimes I prefer my own way. see demo below - this is to find W20...

18 jours ago | 0

| accepted

how harmonic estimation using DFT ?

hello yu can take example on the code below (averaged fft spectrum and spectrogram (this my not be your main focus right now))...

18 jours ago | 0

Math Moron here in need of a function to simulate a degrading curve over time.

hello maybe this ? (the idea behind is a sigmoid) samples = 100; c = samples/2; % center of the curve (c corresponds to ...

19 jours ago | 0

| accepted

How to extract column in particular interval from original matrix and to form new matrix?

hello I guess you mean you want to downsample your data by a factor 4 ; you can of course simply pick one every four sample , ...

19 jours ago | 0

Variable vs constant frequency analysis

hello see my little demo below - no need for fft , I simply compute the cycle by cycle period (by crossing detection) on two s...

19 jours ago | 0

| accepted

i need to find error in code because I it's increasing but it should be decresing

hi seems you have swapped the x and y data when you do the plot after the fix we get this : full code a bit improved : ...

19 jours ago | 0

what's the code inside angle2dcm?

hello here you are notice that there are some issues / questions about orientation convention with this function angle2dcm3(...

20 jours ago | 0

| accepted

Issue with magnitude of cumtrapz and integration of second order system acceleration data

hello accelerometer's signals double integration can be a bit tricky. We must compromise between being as accurate as possible...

20 jours ago | 0

| accepted

Read the third column of a .csv file

hello you can use the import wizard to help you create the right import options for readtable see demo below - temperature is...

21 jours ago | 0

| accepted

Plot two figures simultaneously

hi my suggestion with subplots close all clear all clc format long %% Data Layup Layup = [90 0 0 45 -45 0 0 -45 45 0 0 9...

21 jours ago | 1

I need help plotting

hello this is the correct code Uan and Uab needs to be 2D arrays (n rows and columns as many as length(t)) also some missin...

21 jours ago | 1

| accepted

Plot spectrogram plot just like pre 2015

hello specgramdemo was a really nice piece of code. It will be quite serious work to rebuild the whole thing otherwise , att...

21 jours ago | 1

| accepted

Extract maxima of a fitted curve

hello your code cannot be run because you did not provide prepareCurveData function and the data U_axis, U [xData, yData] =...

21 jours ago | 1

| accepted