Community Profile

photo

Mathieu NOE


Hutchinson

Last seen: 2 días ago Active since 2015

Engineer - mechanices /ekectronics / signal processing

Average matlab user for 20 years now.
Professional Interests: signal processing, adaptive control, noise and vibration processing

Statistics

  • 12 Month Streak
  • Revival Level 3
  • Guiding Light
  • Thankful Level 1
  • Knowledgeable Level 4
  • First Answer
  • Explorer
  • First Review

View badges

Content Feed

View by

Answered
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 días ago | 1

Answered
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 días ago | 1

Answered
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 días ago | 0

Answered
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 días ago | 0

Answered
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 días ago | 0

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

4 días ago | 0

Answered
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 días ago | 0

| accepted

Answered
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 días ago | 1

| accepted

Answered
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 días ago | 0

| accepted

Answered
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 días ago | 0

Answered
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 días ago | 0

Answered
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 días ago | 0

Answered
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 días ago | 0

| accepted

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

10 días ago | 0

| accepted

Answered
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 días ago | 0

| accepted

Answered
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 días ago | 0

| accepted

Answered
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 días ago | 0

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

25 días ago | 0

| accepted

Answered
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 días ago | 0

| accepted

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

alrededor de 1 mes ago | 0

| accepted

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

alrededor de 1 mes ago | 0

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

alrededor de 1 mes ago | 0

Answered
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,' ');

alrededor de 1 mes ago | 0

| accepted

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

alrededor de 1 mes ago | 1

| accepted

Answered
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)); %...

alrededor de 1 mes ago | 0

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

alrededor de 1 mes ago | 0

| accepted

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

alrededor de 1 mes ago | 0

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

alrededor de 1 mes ago | 0

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

alrededor de 1 mes ago | 1

| accepted

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

alrededor de 1 mes ago | 1

| accepted

Load more