Réponse apportée
How to assign time on x-axis in emd?
hello if you know your sampling frequency (Fs) of the original data , and the length of the data , it's fairly straithforward ...

environ 5 ans il y a | 0

Réponse apportée
time domain and frequency domain plot
hello see example to do averaged fft and spectrogram hope it helps

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to import a sequence of file .txt
hello Marco see below an example how to read all txt files inside a folder and do the batch processing - like here I simply do...

environ 5 ans il y a | 2

| A accepté

Réponse apportée
Adding a sound wave to a wav file
hello if the two have same sampling frequency, you can add them together like z = wav1 + wav2; but make sure that the output...

environ 5 ans il y a | 0

Réponse apportée
to delete specific lines/text from a .txt file
hello see below my code and it's output (txt file attached) clc clearvars Filename = 'data.txt'; result = extract_da...

environ 5 ans il y a | 0

Réponse apportée
Create Moving Average filter WITHOUT filter() function
hello try this fs = 200; %sampling frequency Ts = 1/200; %sampling time t = 0:Ts:1; x = sin(2*pi*2*t) + sin(2*pi*10*t) ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How do I pass the signal to the frequency domain?
hello see below a code to do spectral analysis (example) but to me you're confusing fft with histogram. The fft spectrum will...

environ 5 ans il y a | 0

Réponse apportée
Trying to plot specific values from a vector
hello this is my suggestion - I put the equations in a sub function to make it easy after to do a for loop for multiple To4 va...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Residual vs Iteration Plot
hello code fixed : L = 0.05; T_w = 5; T...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Select Data Column With Header are not in the first row
hello see below example : opts = detectImportOptions("Document1.txt","NumHeaderLines",12); opts.SelectedVari...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Quick question regarding CSV file reading.
hello my quick suggestion to the quick question fid=fopen('cycle1.csv'); e=textscan(fid,'%s','headerlines',1); e_splitted ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to sum two data sets to get a best match of another data set?
hello see demo below : I added some noise on y3 to see the robustness of fminsearch got the results : a = 3.0379 b =...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Why this code gives error?
hello it works better this way : plot(f,20*log10(FFT_abs/max(FFT_abs)),'b+-','linewidth',3);

environ 5 ans il y a | 0

Réponse apportée
FFT Function not working with multiple columns
hello first , xlsread is a bit outdated , use importdata instead second, here's a generic code for time and frequency analysi...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
How to get a velocity graph from recorded displacements and times?
hello to get velocity , you need the first derivative of the displacement, for acceleration, it's the second derivative exa...

environ 5 ans il y a | 0

Réponse apportée
I have a time series signal which is needed in the frequency domain
hello maybe this can be starting point further refinement would be to have the frequency axis of the spectrogram in log scal...

environ 5 ans il y a | 0

Réponse apportée
Extract data between specific indicators from txt file
hello this is one solution - hope it helps ! tested with the attached txt file = readlines('data.txt'); data_str = 'R1'...

environ 5 ans il y a | 0

Réponse apportée
Problem in the data fitting with custom equation
hello here you are : t = [1.00E-07 2.00E-07 5.00E-07 1.00E-06 2.00E-06 5.00E-06 1.00E-05 ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
how to find the smallest point before rising limb and then calculate the gradient between that point and peak ??
hello once you have found the x location of the B point , let's say is xB , then you can find xA knowing the this point should...

environ 5 ans il y a | 0

Réponse apportée
Manual implementation of spectogram function
hello I share with you my own version , hope it helps ! notice i always use hanning window and the correction factor for ampl...

environ 5 ans il y a | 0

Réponse apportée
How to align the power plot correctly?
hello for me it would make sense to add simply half the buffer lenght to your time vector in the second graph, so that the pow...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Butterworth filter for ecg signal in healthy people
hello dear all, an alternative using a 5th order IIR filter to remove the usual 50 Hz and harmonics mains hum LD = load('ECG_...

environ 5 ans il y a | 0

Réponse apportée
saving data in a text file
hi again you were one micro inch from the solution : simply add the transpose operation on the data matrix to get it oriented...

environ 5 ans il y a | 0

Réponse apportée
How do I calculate power for each signal?
hello if you want to compute a running rms value , you can use the movstd function - see help movstd and use K = fs=8192 to a...

environ 5 ans il y a | 1

Réponse apportée
How to set threshold point to the first peak arrival?
hello I wonder why doing the complex fft / ifft to remove low frequency signal this can be done easily still in time domain ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
interp1 not working as expected and returning the same negative index for multiple query points (sample code and sample data included)
hello why do not use this crossing function to get the positive slope and negative slope crossing point to a given value ? l...

plus de 5 ans il y a | 1

Réponse apportée
Find the second signal points (x, y location) exactly the same place of the first signal peak (x, y) matlab
hello hope this helps you see function attached load('Value.txt'); x = Value(:,1); y = Value(:,2); t = 1:length(x); th...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Why the amplitude of theFFT trasform is not equal as the amplitude of the input signal?
hi again I was not happy to see that your code needed a very high sampling rate to display correctly the 5 frequencies this ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Why the amplitude of theFFT trasform is not equal as the amplitude of the input signal?
hello FYI see code below it iplement a peak hold fft averaging technique; also the spectrogram principle is coded (so you can...

plus de 5 ans il y a | 0

Réponse apportée
filtfilt vs self coded filtfilt giving different results.
hello IMHO the most obvious error is that your second simulation runs on a completely different filter see the second time y...

plus de 5 ans il y a | 0

Charger plus