# 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**60**

of 246,871

REPUTATION**2,218**

CONTRIBUTIONS

**1** Question

**851** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**177**

RANK

of 17,220

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Why isn't my graph plotting correctly?

hello I have a bit modified your code , I had to replace viscircles with a similar function (cercle ) - but you can easily com...

15 hours ago | 0

what mistake I am making?

hello I simply tested the first data set when you do : impFatigueA = importdata('Fatigue_A.txt'); impFatigueA is a structu...

15 hours ago | 0

Color scale of scatter plot?

hello A minor variation on the above suggestion % dummy data N = 100; Xc = 5; % center X coordinate Yc = 5; % center...

1 day ago | 0

| accepted

How to remove Outliers

hello here is a quick result after a few manipulations code clc clearvars T = readtable('AskingData.xlsx'); P = T....

1 day ago | 0

| accepted

How to use findpeaks to find the width of the peak at 1/e^2.

hello this would be my suggestion this code will find the peak value then from there you can tell at which y threshold value ...

4 days ago | 0

| accepted

How can I skip the first to lines from a text file and proceed to read the file with header lines in between the values?

hello Sarah this code will retrieve the numerical data of the 2nd column (3744 values) filename = 'BSH_HBM_tracer_productgrid_...

4 days ago | 0

How to find whether an array is logarithmically spaced

well if you have a criteria that works for lin spaced arrays (like checking that std(diff(y)) is always below a very low thresh...

5 days ago | 0

| accepted

Help! Evaluation of csv measurement data

hello Meike seems what you looking for is just a fraction of the full M array if you plot the full M array , we get this M...

6 days ago | 0

Avoiding drift while creating angular rotation with variable degree increments

hello why make things so complicated ? this way you can generate the pattern for the first revolution . if you want to have ...

7 days ago | 0

How to apply FFT or LombScargle to a discontinous signal?

hello I used fillmissing to fill the Inf values (created by your log10 of zero in your function) then the fft will show this ...

7 days ago | 1

| accepted

how to save variable as txt in a specified location with variable value appearing in the file name

hello try with (last two lines) f = f'; save(['Gauss' num2str(width) '.txt'], 'f','-ascii')

7 days ago | 0

How to give different colors to different regions of a signal(extracted from an audio amplitude-Fs)?

hello maybe this ? clc clearvars % signal Fs = 100; dt= 1 /Fs; samples = 5*Fs; % 5 seconds of signal freq = 3; ...

7 days ago | 0

How to add ramping in sin function

hello see my little demo below : clc clearvars % signal Fs = 100; dt= 1 /Fs; samples = 1e3; freq = 10; t = (0:sam...

8 days ago | 0

| accepted

Control figure title, size and position in for loop

hello see my suggestion below . I didn't have the problem of figure resizing, but I don't understand why you plot 6 times exac...

8 days ago | 0

| accepted

Is there any better way to find the average of a dynamic signal for a specific time like 10s or something.?

hello this is a demo code for splitting a signal in smaller chunks (buffer) with or without overlap (as you prefer) for each ...

9 days ago | 0

Audio signal reading and manipulation

hello this is my code but there are a few open questions why you say that we take 5 samples while y and z are vectors of 4 s...

12 days ago | 0

| accepted

How to find the peak values from simulink file(.slx) in matlab coding. I'm getting pks = 0×1 empty double column vector, locs = 0×1 empty double column vector errors.

hello again so this is the improved version of my code I also rounded the peak values numbers displayed in the plot load('...

12 days ago | 0

Fit the sawtooth wave with sin/cos harmonic

hello try this clc clearvars f_sig = 10; % signal freq periods = 5; % periods duration = periods*(1/f_sig); fs = 20...

12 days ago | 0

Loading multiple data folders and call them in a For Loop

hello see example below for excel files - simply adapt the inner code to read your data and file extension also you need to l...

12 days ago | 1

How to get the settling time of the plot

hello with stepinfo, you have access to all the info's : A =[0 1;-30 -1.2]; B =[0;30]; C=[1 0]; G=ss(A,B,C,[]); stepinfo...

12 days ago | 0

Getting a perfect ifft for an input time series

hello the output spectrum must be augmented from single sided to double sided fft (make a symetrical of it and concatenate bot...

12 days ago | 1

How to obtain the response to a time varying linear filter with the input being a white noise

hello simply make the coefficients update inside the for loop example below of IIR order 2 code with fixed value coefficient...

12 days ago | 0

I want to draw 2 moving points in a graph. Please help with the easiest code as I m just a beginner.I tried with x(i), y(i) but only 1 moving point I could get. Please help

hello try this N = 300; z=linspace(0,10*pi,N); t=1:N; x=3*cos(0.01*(t-z)).*cos(t-5*z); %// initiallize plot. Get a han...

12 days ago | 0

Gussian Curvature calculation problem

hello your function do work if your input data is 2D arrays and not vectors as you did also remove the comma at the end of th...

13 days ago | 0

| accepted

how to separate an audio file based on different speakers

hello this is ùy suggestion : assuming we have a wav file, I take the absolute of the signal and smooth it to get a kind of en...

13 days ago | 0

how can I plot a peritrochoid curve?

hello according to the equations given here , the coding is quite simple : Epitrochoid - Wikipedia % The epitrochoid with...

13 days ago | 0

How to add gray to out of range in the colormap?

coming too late in the show .... hello my 2 cents suggestion : % dummy data N = 25; Z = peaks(N); Z = Z*5+35; ZZ = Z...

13 days ago | 0

Multiple Colors in Bar Graph

hello see example below clc clear all close all data_co2 = [.142 .156 .191 .251 0.5 0.86 2.2 4 8.3]; data_gdp = rand(s...

13 days ago | 0

| accepted

How to find the peak values from simulink file(.slx) in matlab coding. I'm getting pks = 0×1 empty double column vector, locs = 0×1 empty double column vector errors.

hello so the issue is to plot the max of your data (once taken the absoute value of it) . In this case findpeaks is overkill,...

15 days ago | 0

| accepted

Save a .dat file containing words and values

hello code modified for my testing purposes... % case_path='H:\Desktop\Samples\CASES\'; case_path=pwd; Samples=load(['Cases...

15 days ago | 1

| accepted