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

of 249,651

REPUTATION**2,416**

CONTRIBUTIONS

**1** Question

**923** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**197**

RANK

of 17,360

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 103,376

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

Why is the magnitude spectrum spreaded over certain frequency range instead of line spectrum in FFT?

hello I took the 3rd data and used my usual tool and could get the two frequencies clc clearvars option_notch = 0; % 0...

3 days ago | 1

Help with for loop and if else statement

hello here you are . Q andy must be indexed in the loop (Q(k) , y(k)) only one Q variable suffice for all cases - no need...

3 days ago | 1

I have a bunch of named test data with some missing specimens. Want to perform mathematical operations on said data automatically.

hello this is my suggestion ... I created a list of files with missing files (could be a different scenario for each group) t...

3 days ago | 0

How to insert and analyze as signal a column from a txt file.

hello and welcome in this forum ! here a starter - how to list and import multiple txt files - after remains to implement your...

3 days ago | 0

How to create a distance between labels in plot?

hello haya I have introduced a bit of randomness in the dz so that the labels will be a different heights dz = 0.2+0.5*rand(...

3 days ago | 0

Include legends based on column names in for loop

hello see my little demo below to use the table varibales names as legend the csv data file is attached clearvars clc %...

5 days ago | 0

Plotting 2D XY values as a 3D radial contour plot

hello my 2 cents suggestion clc clearvars data = importdata('data.txt'); x = data.data(:,1); n = 200; r = linspace(mi...

5 days ago | 0

| accepted

filtfilt problem when trying to compensate for delay

hello the Hd filter was not supplied so I suggest here some standard filter (butterworth lowpass or bandpass) or smoothing tec...

5 days ago | 1

| accepted

smoothen curve plotted using discrete points

hello this would be my suggestion - others methods I tried have not been successfull flowrate = [ 0 93 100 120 140 160 172...

8 days ago | 0

| accepted

how to use loop in function to plot

hello try this I modified your function because x and y are both outputs theta = linspace(0,2*pi,100); figure(1) [x,y...

8 days ago | 0

Repeated sequence of numbers in a vector

maybe this M = [1,2,3,4,5,7,2,5,3,6,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,7,4,1,2,3,4,5,1,2,3,4,5,7,2,1,2,3,4,5] Ms = sprintf('%d',M)...

10 days ago | 0

How to load numbers from a text file to a .mat file?

hi maybe this (I assumed you want each individual value stored in a cell) the cell array can be of course saved to a mat fil...

10 days ago | 0

Finding out the minimum value position of a matrix

hello try this your answer is in r_final and c_final a=[1 2 3 4 5 10;2 3 5 6 1 12;2 6 4 5 7 16;10 2 1 4 5 20;2 3 1 4 9 12] ...

10 days ago | 0

| accepted

How to differentiate a noise signal.

hello again I think your model was correct only the solver parameters could be more adapted - now I forced the solver to use ...

11 days ago | 0

| accepted

How to read an .SRT file in order to extract data ?

hello Elias try this, hope it helps %% read one file clc clearvars filename = 'EXAMPLE.txt'; a = readlines(filename);...

12 days ago | 0

| accepted

Playing sound using 4 channels or converting 4 channels to two

Hello Alex seems to me that none of your codes does actually mix the two songs, here you simply create a 4 channels audio fro...

12 days ago | 0

| accepted

how to control amplitude of step in code

hello simply multiply the result of the (normalized) step (input amplitude = 1) by the actual / desired input amplitude inp...

12 days ago | 0

how to calculate RMS of excel sheet having multiple channel

hello see demo code below with attached excel file I assumed the data are column oriented the rms values are stored in arr...

26 days ago | 0

| accepted

Define main frequencies of accelerometer signals

hello Sergio if you are interested in the low frequency range , my liitle code can help you the quantization noise is quit...

26 days ago | 0

| accepted

how to generate the fowlloing data file based on the original data format?

hellooo and welcome back !! I think I recognize a bit this code .... see my little mods below : clc clearvars S = dir(...

1 month ago | 0

| accepted

I'm starting in Matlab and I have to code centred loops spreading in different directions. Just like the picture I added. Any guidance on where to start would be appreciated.

hello try this circles_radius = 1; radius_noise_amplitude = 0.05; center_radius = 2; center_radius_noise_amplit...

1 month ago | 0

How to create linear phase filters for filter bank?

hello the phase roll rate must be constant like in the example below %% define filters fs = 10000; freq = linspace(100,(f...

1 month ago | 0

Remove simultaneously several substrings in a string

hello try this A = "159 (51,1%) 13 (4,2%) 139 (44,7%)"; B = split(A,' '); B(contains(B,'(')) = []; B = join(B,' ');

1 month ago | 0

| accepted

using logical indexing to find events

hello there is a very simple answer using interp1 t=0:0.01:10; x=sin(2*pi*t)+t/10; y=sin(2*pi*t+pi/4); tevent=[5.3,3.2,8.7,...

1 month ago | 1

| accepted

Trouble fitting a curve using polyfit and polyval

hello see example below : clc clearvars % data x = (0:100); b = 1.5; a = 2.35; y = a + b*x + 3*randn(size(x)); %...

1 month ago | 0

Plotting only few indices over time series

hello my 2 cents suggestion : n = 1:500; x = n.*(1+rand(size(n))); ind = [28,300,349,388,389]; plot(n,x,'b',n(ind),x(in...

1 month ago | 0

| accepted

How to make a piecewise function without using syms?

hello Brianna try this (using logical arrays) n = 0:20; x = zeros(size(n)); % cond 3 by default % cond 1 ind1 = (0<=n & n...

1 month ago | 0

Comparing curves to an original signal

hello again so the yellow curve can be shifted to match the purple one by using a linear equation like y2_shifted = = y2*a+...

1 month ago | 0

How to get polynomial equation of polyfit?

hello my suggestion below : the equation is given by the string eqn code : clc; clear; y = [4.0432,4.1073,4.0899,4....

1 month ago | 1

| accepted

How can I find the Transfer Function having Magnitude(dB), Phase(degree) and Frequency(Hz)?

hello I tried a few options , IIR or FIR filters fit. As the phase plot shows , there is a quite significant phase roll rate...

1 month ago | 1

| accepted