Réponse apportée
How to get polynomial equation of polyfit?
hello my suggestion below : the equation is given by the string eqn code : clc; clear; y = [4.0432,4.1073,4.0899,4....

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How can I find the Transfer Function having Magnitude(dB), Phase(degree) and Frequency(Hz)?
hello I tried a few options , IIR or FIR filters fit. As the phase plot shows , there is a quite significant phase roll rate...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Perform cross co-relation to find best fit
hello the two signals have a slightly (but constant) slopes , so the best estimation of time delta is measured at half the amp...

plus de 4 ans il y a | 0

Réponse apportée
Creating events from continuous data
hello I took only the central portion of your code and applied my recipe - see below had to do some preliminary data process...

plus de 4 ans il y a | 0

Réponse apportée
How to generate barplot like this on a given data?
hello example of horizontal bar plot clc clearvars close all data_co2 = [.142 .156 .191 .251 0.5 0.86 2.2 4 8.3]; data...

plus de 4 ans il y a | 0

Réponse apportée
How to write a function that implements an LTI filter using Direct Form 2?
hello see my example below %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% data ...

plus de 4 ans il y a | 0

Réponse apportée
Filtering noise from an audio signal
hello my recommendation : define the filters after you have analysed the data (see the spectrogram plot : most of the noise en...

plus de 4 ans il y a | 0

Réponse apportée
Access data from table element
hello Giulia try this clc clearvars s = dir('00*.txt') numfiles = numel(s); for n=1:numfiles filename = s(n).nam...

plus de 4 ans il y a | 0

Réponse apportée
Not sure whats wrong with the values in this plot
hello Seb I revisited your code and found the main bug . In your equations the term that computes the rotor acceleration ( = n...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
i have a code for a .wav file which then outputs 3 graphs, but now i want to edit the code and apply three filters (LPF,HPF,BPF) how can i do that and also output the TF?
hello again this is the code with the FIR filters implemented hope it helps ! % LPF cutoff frequency 3 KHz % BPF cutof...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Intersection between fittetfunction and line
hello Luis so this my little demo for intersection - the crossing point coordinates are obtained by linear interpolation, so t...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Filtering out noise or eigenfrequency in acceleration data
hello Lisa do not be desperate ! we are here to help I used your data in my favourite code for noise and vibration analysis....

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to export .mat file to excel different sheets
hello yes , like this : MAT = rand(10,100); [m,n] = size(MAT); for ci = 1:n xlswrite('sampleData.xlsx', MAT(:,ci),...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to perform calc. on the selected part of curve and then reassemble it with rest part of curve in MATLAB?
hello see my little demo below I extracted the portion of data of interest - you can do computation or smoothing and put bac...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Unsure of what is happening in for loop
hello I don't get why the while loop is for ? The for loop by itself will generate this result delta1 = -0.7151 -...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Using a filter difference equation in a for loop to filter a .wav file within the loop
hello see example below - notice b are usually coeffcient names for numerator so they are used for the x (input) , wheras a co...

plus de 4 ans il y a | 0

Réponse apportée
Help fixing code to do loop aswell as how to show start/end times of spike as seen on plot.
hello Erick I have implemented a new portion of code to define the two crossing points with maximal time accuracy (by linear i...

plus de 4 ans il y a | 0

Réponse apportée
SELECTING MATRIX ELEMENTS IN DESCENDING ORDER
hello try this r = row index c = col index [value,ind] = sort(A(:),1,'descend'); [r,c] = ind2sub(size(A),ind)

plus de 4 ans il y a | 1

Réponse apportée
Generating an average curve from 1,000 replicates of an ODE
hello I tweaked a bit your code. Your results can be stored in cells but as your y array has always the same dimensions, I fou...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Plot line colors and legend colors don't match, & error bars don't show the points in the plot
hello again my friend ! this is your code a bit tweaked h1 = plot(x*100, avey1, '-ok',... : forcing the line color to b...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Export Audio with Volume Automation
hello Hans this is my suggestion fs = 44100; dt=1/fs; t = 0:dt:2; phi = 0; A = 1; f = 220.0000; x = A*sin((2*pi*f*t) ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
How can i perform the for loop in this case?
hello not sure to have 100% understood the question but maybe this answer it ? I,believe it's simply about reshaping data -...

plus de 4 ans il y a | 0

Réponse apportée
How to transform a vector that have "*" to indicate that a number is repeated
hello my suggestion : A='3*2 1 5*10'; As = split(A); out_all = []; for ci = 1:numel(As) B = split(As{ci},'*'); ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Spline interpolation of input data
hello check this not even sure the spline option is really needed here . A basic linear interpolation is good for the job ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
can someone please help me with FFT analysis for the input signal attached with this
hello again I think I already answred that question in your other post so again here - slightly modified as the input data fi...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
mean first 10 lines and next 10 line till finish array
hello try this %% dummy data data = rand(210338,3); % data must be column oriented (number of rows = number of samples) bu...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
I have a problem with indexing in nested for loop.
hello my suggestion motion_data = csvread("hip_test_6d.csv",1,1); hip_6d = motion_data(:,1:6); femur_6d = motion_data(:,7:...

plus de 4 ans il y a | 1

Réponse apportée
Fitting Impedance data file to parallel RLC circuit model using fmincon
hello my attempt below - with just fminsearch (as I don't have the Optimisation Toolbox) I refined a bit the IC by manual...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Importing Excel from MATLAB
hello my 2 cents suggestion for looping over folders and files this can be further refined if you need an additionnal loop t...

plus de 4 ans il y a | 0

Réponse apportée
how to convert cell array to numeric array?
maybe this ? >> a = {'fh8453655'} >> beginStr = regexp(a, '\d+', 'match'); >> beginNumbers = cellfun(@(x) str2double(x{1}), ...

plus de 4 ans il y a | 0

Charger plus