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
Content Feed
While loop using up to input and fixing input definition
Hello gain, so this is the code with the small changes mentionned above clc clearvars close all fs = 20e3; numFilts = 32;...
18 hours 前 | 0
required assistance in fitting
so this is the poor"s man optimization (w/o any toolbox) a brute force approach , let's create a 2 parameter grid and evaluate ...
6 days 前 | 0
I wanted to combine 100 csv files for plotting in Matlab. All the files have same number of columns and rows. Can anyone help?
maybe this ? here I wanted to do a vertical concatenation - up to you to change that portion of the code also , if processi...
7 days 前 | 0
High Frequency Noise baseline filter
hello again an explosive blast record will have a very wide frequency range , the spectrogram will tell you that the signal e...
7 days 前 | 0
Plot velocity profiles along a slope
hello again so this is a starter , would need further work to define correct range of the ruler according to your data %% cre...
8 days 前 | 0
How to delete every nth column in table?
maybe this ? X = (1:9)'*(1:10:50); % remove only 2nd column t = array2table(X,'VariableNames',{'t' 'x' 'y' 'z' 'r'}) t(...
8 days 前 | 0
How would i change this code so that it plots all of the circular paths and markers all at once instead of one after the other?
simply commenting the inner for loop , and you get this result : (I also reduced the number of theta points by factor 2 ) : th...
8 days 前 | 0
How to automatically identify and fit segments of a force-distance curve in MATLAB?
hello maybe this ? I simply wanted stright lines (polyfit order 1) I suggest x0,y0 and x1,y1 as possible candidates for th...
11 days 前 | 0
Impact location detection from accelerometer data
hello so this would be my suggestion I hope my conclusion is not completely wrong ! At the end it seems I can clearly see ...
11 days 前 | 0
Trouble with using plot because of wrong data type
A numerical simulation (no sym) a0 = 0.529177 * 10^(-10); %Bohr radius r = linspace(0,10*a0,100); R = 2*(1/2*a0)^(3/2)*exp(-r...
12 days 前 | 1
| 已接受
duration of rain. help
hello this is one way to do it - just plain simple matlab functions . Of course , someone fluent with timetables can do it a...
12 days 前 | 1
How to plot multiplot with different range of data?
hello maybe this ? I normalized x1 and x2 so both plots would overlay nicely . A=readmatrix("wan_band.dat"); [x1,y1]...
12 days 前 | 0
How to extract desired variables column data from a table?
hello this is one solution NB that the variables names and the names your are using in the selection are not exactly the sam...
12 days 前 | 0
how to average data points in column 3 based on values in columns 1 and 2
hello as your data seemed to lie in a plane , why not make a plane fit and assume from now the data should belong to that plan...
12 days 前 | 0
| 已接受
3D grouped bar-plots from 3D matrix
hello again based on the comment / link above, this is what I can offer today %generate somme dummy data groups_x = 3; rows...
13 days 前 | 2
| 已接受
How to convert s2p to Impulse Response?
hello see example below : %% create the FRF complex data Fs = 1e3; Freq = linspace(0,Fs/2,200); % make sure freq vector go...
13 days 前 | 0
How to interpolate empty gridcells in the 3D model?
this is you solution : Inpaint over missing data in 1-D, 2-D, 3-D,... ND arrays - File Exchange - MATLAB Central (mathworks.co...
14 days 前 | 0
| 已接受
Find a controller for a feedback-loop
hello engineering is a mix of knowledge and art. The art of the engineer is to split a complex problem into smaller , simpler ...
14 days 前 | 1
How to merge the three mat files?
hello a quick and dirty solution, you may have to find a way to generalize to more variables in that may be the case in the fu...
14 days 前 | 0
| 已接受
How to perform Fast Fourier Transform in 2 csv files
well I hope that there ae time stamps in your file , otherwise it may be complicated to get the right frequency axis. see code ...
15 days 前 | 0
derive slope from plotInteraction
hello FYI, you can access any figure underlying data (and of course compute the slope) openfig('myfig.fig'); set(gcf, 'Visib...
15 days 前 | 0
| 已接受
Convert time data from excel format to milliseconds.
hello so when we look at the raw time data , it's like a rounded signal after quantization why not simply do a linear fit so...
18 days 前 | 0
| 已接受
Filled region between three functions
hello you need to compute the intersections points - for that I am using the function in attachment (intersections.m , found ...
18 days 前 | 0
| 已接受
How do I implement a low pass filter difference equation to filter sample by sample, samplewise
hello see this second order recursion - here used with a step input (works for any input signal) I used the b,a coefficients...
19 days 前 | 0
| 已接受
convert the image sketch in to x,y boundary coordinate
hello try this hope it helps filename = 'image.png'; inpict = im2double(rgb2gray(imread(filename))); [m,n] = size(inpi...
19 days 前 | 0
I want to know the method for removing excessive angle data.
hello @재혁 IMO , there is no need to use a for loop to compute 'indind' variable also nanmean is obsolete, you can use mean wit...
19 days 前 | 1
How to produce a noise spectrum from an rms velocity specification?
hello maybe this ? here we generate 10 frequencies (sine waves) of 10 periods each I took a simple case where the spectrum ...
19 days 前 | 0
Phase difference of two continuous signals.
hello maybe you could use this code once you have splitted the large signal into smaller chuncks x = 0:0.1:30; y1 = sin(x+0...
19 days 前 | 0
| 已接受
How to remove sidelobes using fdatool
hello i prefer to use an elliptic filter as it has a steep roll off after the cut of frequency (fc) here's the filter alone...
19 days 前 | 1
Auto-completion and smoothing of incomplete 3D ring
hello maybe this ? load('3D ring.mat') x = data.Points(:,1); y = data.Points(:,2); z = data.Points(:,3); %% method 1...
20 days 前 | 0
| 已接受