Community Profile

photo

Mathieu NOE


Hutchinson

Last seen: Today 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 5
  • First Answer
  • Explorer
  • First Review

View badges

Content Feed

View by

Answered
data extraction from f06 file
hello my friend here you are the result is stored in Result_c clc clearvars fileID = fopen('flutter_2d_rh_wing_base.f0...

9 hours ago | 0

Answered
How to fill missing frequency response data at the beginning and end?
Nathan as said above, here the full code : %% playgroundFillGaps clc;clear;close;format compact; format short g; newFs = ...

2 days ago | 0

| accepted

Answered
I am trying to write a function to calculate frequency of a signal by comparing values to a threshold.
hello FYI demo with constant and non constant signals period are computed by getting the threshold crossing time data hop...

3 days ago | 0

Answered
How to print line from txt file based off of keywords
hello seems I have already seen that question in the recent past .... %%%%%%%% main code %%%%%%%%% clc clearvars filenam...

5 days ago | 1

Answered
Extracting multiple row values (with unequal range) in a column separately
hello try this : clc;clear all a = readmatrix('saf_wind.csv'); ind_header = find(isnan(a)); % lines with 'P DEW' (seperate...

7 days ago | 1

| accepted

Answered
Correlation coefficient calculation error
hello seems to me the code could be made simpler, why the need to make all this cell acrobatics ? clear;clc;close all S = l...

7 days ago | 0

| accepted

Answered
Error: File: frelay_oldOf_09Jun2022_MINLP.m Line: 434 Column: 1 Illegal use of reserved keyword "end".
hi see the line : out_tbn=[tb1n tb2n tb3n tb4n tb5n..... is missing a closing bracket

7 days ago | 0

Answered
Find flat regions in a signal above origin (time series data)
hello IMHO, you don't need the peaks code (and the for loop) to make the low amplitude signals to zero you can do it directly...

7 days ago | 0

| accepted

Answered
Surface roughness analysis from raw data
hello this is a starter , to do the spectral analysis of your data then you can use some low / high or bandpass filters to f...

10 days ago | 0

Answered
Issue with locating end of poorly defined peak
hello again tried this - does it help ? load('iso.mat') curve = 10; % which curve do you want to plot ? data = per...

10 days ago | 0

| accepted

Answered
Why do I get zero frequencies in a fft when the constant offset is already removed?
hello the fft seems to me inappropriate in this case. If the goal was to find the time difference between the succesive pulses...

14 days ago | 0

| accepted

Answered
Gradient of a multiple line 2d plot,
hello I see you have a passion for for loops ! maybe you can do yours plots without a for loop this time . Added some code...

16 days ago | 0

| accepted

Answered
how can I calculate movmean from 1 periode wave data?
hello we can use the peaks to compute this value as well you can use islocalmax (or islocalmin) to locate local peaks. Some...

16 days ago | 0

Answered
HOW TO PLOT X VS Y AT DIFFERENT Z
hello maybe this ? NB : I used large steps for pressure and temperature to avoid creating very large arrays - adapt to your ...

16 days ago | 0

Answered
Get y value in plot(t-s diagram)
hello see my demo based on dummy data - trying to reproduce your case code : clc clearvars % dummy data n=1000; y= ...

19 days ago | 0

| accepted

Answered
How to load a specific column from files + FFT function
helo again as the signals are quite nn stationnary I assumed that a spectrogram is more appropriate than a "simple" FFT (with o...

19 days ago | 1

| accepted

Answered
for loop summation problem
hello please clarify what is a and b in your request. Usually those letters are used for numerator (B) and denominator (A) of ...

20 days ago | 0

Answered
Why am I unable to open .csv file with the readmatrix function?
hello workaround suggestions faster with readcell vs importdata >> tic; out2 = str2double(split(readcell('t4md6p1 - partia...

20 days ago | 1

| accepted

Answered
How can I cut the number of frames down?
hello Hannah I tried to improve my first (very simple suggestion) here some (hopefully) improvements : detection of "valid" ...

22 days ago | 0

| accepted

Answered
Using a for loop to read in 16 data sheets and storing one value from each data sheet in a vector - full problem explained
hello I don't see why the code needs two for loops seems to me one suffice and this code gives the answer in mSTRESS (vector...

22 days ago | 1

| accepted

Answered
How to load a specific column from files + FFT function
hello my first suggestion is for looping inside a folder to load txt file data % read current filenames in folder S = di...

23 days ago | 1

Answered
What is the best option to import individual columns from text files?
hello see suggestion below you can expand on this code to add a condition statement on the file counts to switch from 3rd t...

23 days ago | 1

Answered
Plotting two graphs simultaneously in a for loop
hello using your x and y data , see answer (example) below : %% create animatedline object / handle figure h1 = animatedli...

23 days ago | 0

Answered
ECG signal baseline drift correction
hello a simple high pass filter suffices %--Load Real signal--% load ('100m.mat'); RealECG = val/200; Fs = 360; % Hz L ...

23 days ago | 0

Answered
Running 4 MATLAB Scripts to read, process and plot data from many csv files
hello see example below clc clearvars %% define path yourpath = pwd; % or your specific path list=dir(yourpath); %get ...

27 days ago | 1

| accepted

Answered
How to plot time with correlation of two matrix?
hello here you are : A=[1 2 3 4;4 6 5 7; 1 8 9 3; 1 2 3 4; 3 2 4 1; 4 3 2 1; 5 6 7 4]; B=[0 1 2 3;3 5 5 7; 2 9 9 3; 2 3 4 4...

27 days ago | 0

| accepted

Answered
How to add a verteical pad obove and below the curve and graph style and color displays?
hello Nisar this is my suggestion , and result your last mat file does not contain the f data so I skipped that portion of co...

27 days ago | 0

Answered
How to read all mat files in folder and save plot as image
hello you can try / build your solution based on this example here I wanted all data being in one single plot so I concatenat...

28 days ago | 0

Answered
model fit comparison matlab
hello this is basically waht is called the R² correlation coefficient . If it get's close to 1 it's a good fit, if it get's cl...

1 month ago | 0

Answered
How to replicate this graph with random peaks?
hello see little demo below , based on random data (up to you to specify x, y centers , sigmas and z amplitudes ) here I gen...

1 month ago | 0

Load more