Community Profile

photo

Mathieu NOE


Last seen: Today

Hutchinson

327 total contributions since 2015

Engineer - mechanices /ekectronics / signal processing

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

Contact

Mathieu NOE's Badges

  • 3 Month Streak
  • Knowledgeable Level 4
  • Pro
  • Revival Level 2
  • First Answer
  • Explorer
  • First Review

View details...

Contributions in
View by

Answered
How to replace specific text in .csv file
hello would this work for you ? strArray = readlines('test.csv'); str = "NAN"; newString = '-9999'; newStr = strrep(strAr...

11 hours ago | 0

Answered
How to do discretization with variable step size ?
as simple as this : dx0 = 1; dx1 = 2; x = [(1:dx0:10) (10+dx1:dx1:20)];

12 hours ago | 0

Answered
Remove some zeros from a cell
hello simple code below , replace zeros with NaN (example) load('Cell.mat') dd = cell2mat(Data_All_Repos); dd(dd<eps) = NaN ...

12 hours ago | 0

Answered
Replace values on a column filtering with a value
hello something like that : %% some dummy data A = (1:10); In_Matrix =A'*A; %% main code %% Out_Matrix = In_Matrix; ...

13 hours ago | 0

| accepted

Answered
How can I compute Trapezoidal numerical integration (Q = trapz(X,Y), while my X is a datetime-lalue vector?
hello see below , depends if integral must be done on seconds or minutes time stamps - you to choose ! T = readtable('vol...

14 hours ago | 0

| accepted

Answered
How to fix this one? I use PI controller. please give a suggestion on this matter?
hello I put a simple regular PI and it works output (blue) tracks input (yellow) without too much delay (upper subplot) PI...

17 hours ago | 0

Answered
Creating a Seismogram record section
hello arthur this is a modified code - check it out play with "a" factor to increase / decrease vertical offset between lines...

17 hours ago | 0

| accepted

Answered
Text files data extract
hello this seems to work - even though there is maybe a better way to extract the numerical content from the table I tried wi...

18 hours ago | 0

Answered
Export doubletimeseries dataset from MATLAB to Excel
so official answer below : ------------------------------------ hey , success !! here is it ! excel output in attachement,...

20 hours ago | 0

| accepted

Answered
How to extract part of the lines
hello Robert I modified a bit your code , first thing was to fix the issue with a relatively coarse rounding then I added my...

5 days ago | 1

| accepted

Answered
where is my fault ?
hello you were almost there - just split the code in main section and 2 sub functions %% main code %% hh=input("Enter the...

6 days ago | 1

Answered
Finding Peak Edges from Array of 116 Curves
hello I suggest to use the attached crossing function , with the y threshold corresponding the y value of the black line in yo...

6 days ago | 0

| accepted

Answered
Plotting multiple Magnitudes in one plot
hello according to the picture, your code needed a revision, see below the bandwith of your filters (BW) should be proportion...

6 days ago | 1

Answered
Low pass filter VS high pass filter
hello you can do a bode plot of the transfer function between the output (signal filtered) vs the input (raw signal) use tfe...

7 days ago | 0

Answered
Input file editing format
hello I believe this code should work - I tested it only with loops = 2 even though I think you need to go up to 120 data = i...

7 days ago | 0

| accepted

Answered
Filtering high frequencies from response signal
hello try also sgolayfilt function y=sgolayfilt(x,order,framelen,weights,dim) %SGOLAYFILT Savitzky-Golay Filtering. % SGO...

7 days ago | 0

Answered
How to find the 80 and 20 percent positions on a gaussian profile - Penumbral width
HELLO Luis attached your code , beefed up with the attached function (computes the coordinates of crossing point of your data w...

7 days ago | 0

| accepted

Answered
Looping until threshold is met
hello yes - error is not initialized , and BTW, you are shadowing a native matlab function error , which is not good pratice (...

8 days ago | 0

| accepted

Answered
How to find the Zero Crossing Rate of a signal?
hello i am not sure what a "rate" can be about zero crossing, but at least maybe this code will give you access to zero or wha...

9 days ago | 0

Answered
Why is frequency of graph differing?
hi - official answer this time the PSD concept is valid only for random type signals , not sinus mathematically speaking, a ...

9 days ago | 0

| accepted

Answered
Manual spectrogram creation without using spectrogram command
hello see below (myspecgram) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% data...

9 days ago | 0

| accepted

Answered
modelfrf, experiment, naturel frequecies, magnitude
hello I plotted the time data for channels combos 3/4 (and 1/2) both shows single (low) frequency sinus type data - so this ...

9 days ago | 0

| accepted

Answered
Trying to extract data from an assigned header
hello nothing fancy - but it works ! aa = readlines('data.xml') for ci = 2:numel(aa)-1 line = char(aa(ci)); ind...

10 days ago | 0

Answered
Linear filter for echo effect
hello there is a very simple way to implement echo effects - see demo code below infile='DirectGuitar.wav'; outfile='out_ec...

10 days ago | 0

| accepted

Answered
generate multiple text files from a matrix
hello see below data = [(1:1000)' 1000+(1:1000)']; for ci = 1: size(data,1) str = ['(' num2str(data(ci,1)) ',' num2s...

12 days ago | 0

| accepted

Answered
How Do I Fitting a 3 Unknown Parameter Model?
hello Jordan see example below x = 0:100; N = length(x); tau = 10; % time scale of relaxation x_asym = 4; % relative inc...

12 days ago | 0

Answered
How can I plot multiple 2d plots with a z value that changes the value of each line?
hello Alessandro check this please n = 3; z = [1 2 0.25]'; z = sort(z,'ascend'); x = linspace(0,10); y = z*x; dat...

12 days ago | 0

| accepted

Answered
changing the name of multiple csv files in a folder
hello this is a first attempt I prefered to create the renamed copies in a separate folder also my code will probably need...

13 days ago | 0

| accepted

Answered
bar plot with color bar
hello see code example below all the best clc clear all close all data = [.142 .156 .191 .251 0.5 0.86 2.2 4 8.3]; un...

13 days ago | 0

| accepted

Answered
Specter of a square signal(10Khz) at 10MHz frequency
hello there is a much faster method to generate a square signal (using square ) see demo below for signal generation and fft...

13 days ago | 0

| accepted

Load more