Community Profile

photo

Mathieu NOE


Hutchinson

Last seen: 13 days 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

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

View badges

Content Feed

View by

Answered
Remove gravity component from accelerometer data
hello Francesco the simplest method is to simply remove the mean value of your signal. another approach is to use a high pass...

13 days ago | 0

| accepted

Answered
Using writetable in a for loop to create new txt/csv files for each step
hello seems you were one inch or even less to a solution . Now it was a bit unclear to me if you wanted to save the new tabl...

13 days ago | 1

Answered
How can I plot the mid-curve or interpolant between several curves?
Hello Leonardo this is my suggestion; to be able to do math between different sets of data (like doing the average) you have f...

16 days ago | 1

| accepted

Answered
Loading multiple mat files and plot them right
hello based on the first post you can do that : tested with dummy data ( commented lines) of different size ... so it works w...

16 days ago | 0

| accepted

Answered
How to alter data (multiply) from all the columns of multiple text files in a folder
hello this is my suggestion ... the natural sorting order of the files may not be critical here, but it may be helpful anoth...

16 days ago | 1

| accepted

Answered
How can I plot a data set after applying cascaded filter?
hello Soeun I did a couple of modifications / corrections in your code please note that for the notch filter , the low and hi...

16 days ago | 0

Answered
How to visualize time frequency information of time series signal using continuous wavelet transform
hello I used this FEX submission as I don't have the Wavelet Toolbox cmccrimm/Continuous-Wavelet-Transform - File Exchange -...

16 days ago | 0

Answered
How to have the input files labels in the output files
hello my 2 cents suggestion : imgFolderStokes = fullfile('Data/Stokes_Parameters/'); imgStokes = imageDatastore(imgFolderSt...

17 days ago | 0

Answered
How to compute poles-zeros using matlab?
hello I hope the coefficient in b and a are correct (then the zeros and poles are inside the unit circle ) , because the first...

17 days ago | 0

Answered
Integrate Acceleration to velocity, wrong plot
so finally... try this / adapt it to your own needs . I can further help you if needed FYI : this code does two integrations...

19 days ago | 0

Answered
Differencing Across 2 Different Sized Matrices
hello I think this works fine with a single loop : % dummy data Matrix_1 = randn(1440,721,480); Matrix_2 = randn(1440,721,...

20 days ago | 0

| accepted

Answered
How to detect point before a positive ramp
hello I have combined threshold crossing detection with second order derivative this is the result on a noisy pulse train .....

20 days ago | 0

| accepted

Answered
How to overcome reaching NaN in trying to write Secant Method?
hello there is one point that you missed , is to break / stop the iteration as soon as the variation of x becomes lower than a...

22 days ago | 0

| accepted

Answered
How to read in a .txt and arrange the data into a scheme?
hello this is the best solution (IMO) : it will generate a table with identified variables names you can easily access : ...

22 days ago | 0

Answered
FIltered signal not matching with the original signal.
hello I see that you are doing a detrend action on your data. This will remove the dc (mean) value of the signal , so no surpr...

22 days ago | 0

| accepted

Answered
calculate speed and distance from gear wheel pulses sensor
hello Frederico Had to guess the sampling rate as it's not defined in your post... so I estimated it around 100 kHz. I did a...

23 days ago | 0

| accepted

Answered
Inactivate PID controller for 3 seconds
hello simply add a switch block at the input side of the PID the first signal (input) of the switch is zero, the second is t...

23 days ago | 1

| accepted

Answered
How can I increase the size of an array that is already in the workspace with increments of 0.1?
so this is the status now : 1/ I believe I fixed a couple of issues at the end of the main code : now both linear and spline...

26 days ago | 0

| accepted

Answered
How can I increase the size of an array that is already in the workspace with increments of 0.1?
so , maybe now I acn provide an answer.... had a couple of questions to myself - and tried to solve it this way : now we hav...

26 days ago | 0

Answered
Signal smoothing for logarithmic timescale
hello you can smooth data even in log spacing a demo code is provided below. I kept the amount of samples low , so the smooth...

26 days ago | 0

| accepted

Answered
How to use bandpass filter.
Hello no bugs or special issues , but minor improvements I prefer to use the IIR filters (like butter) used with filtfilt ...

28 days ago | 1

| accepted

Answered
CASE CLOSED. THANKS YOU
hello Nabil the code below implements low and high pass filtering hope it helps T = readtable('Book1.xlsx'); time = ...

28 days ago | 1

| accepted

Answered
Extrapolation: How do I extrapolate a curve with minimum error.
hello my suggestion for exponential curve fitting and extrapolation (adjust the new time vector t2 according to your needs) ...

28 days ago | 0

| accepted

Answered
Resultant of two files
hello again in the mean time I have worked for you ... this is a code to load the data for all sections (variables) you get th...

28 days ago | 0

Answered
replace cell content of excel from matlab script
hello this is my suggestion - convert your data (numeric double) to cell array first and more robust if statement as numeric...

29 days ago | 0

| accepted

Answered
repeating step signal in real time with a hold value of 5 seconds
hello my 2 cents suggestion... adapt sampling frequency to your own needs Fs = 100; dt = 1/Fs; duration = 5 ; nb_steps = 1...

29 days ago | 0

Answered
How do I obtain the aligned sequence using distance warping
hello my suggestion below : % Example 3: % Align handwriting samples along the x-axis. load blockletterex %dtw(MATLAB1...

30 days ago | 0

| accepted

Answered
how can i animate the line using for loop and if statement
hello you can do much simpler , as x and y are fully defined in the initialization section , then you only have to loop - four...

30 days ago | 1

| accepted

Answered
I'm calculating the harmonics of a time series. How do I determine the significance of the harmonic fit onto the data?
hello why not simply compute the mean squared error between your fitted data and the input data I also tried including the se...

1 month ago | 0

| accepted

Answered
Find the difference between signal values
hello if you export the data to matlab array you can use this code; it has the benefit to use linear interpolation between sam...

1 month ago | 0

| accepted

Load more