Réponse apportée
A loop that saves the data from the inner loop as next file
hello this is my suggestion - only one loop the code works whatever the dimensions of the data (tw1) you can also easily ch...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Perform FFTW of a song
hello I have exactly what you need ! you lucky man ! enjoy it

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Estimating a second order transfer function for a over damped second order system.
so this is the poor's man (no ID toolbox ) , frequency domain ID it may help you all the best clc,close,clear; File1 = f...

plus de 5 ans il y a | 0

Réponse apportée
Conditionally select rows and add to new table
hello so official answer below (modified original code) good luck for the future ! load('ddtable2.mat'); % ddtable2 date_...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
When simulating the response to a specific input signal, the input data U must be a matrix with as many rows as samples in the time vector T, and as many columns as input channels.
hello this seems to work better : clear clc m1 = 69000; m2 = 65000; m3 = 126000; k1 = 8000; k2 = 8500; c1 = 5200; c2 ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Saving tables as separate Excel file with different file names
hello , this is a code that will do the job and also vice versa but IMHO, it's better so save your different data in one ex...

plus de 5 ans il y a | 1

Réponse apportée
How to classify data from text file?
hello when you say "classify" I believe you meant access the data inside the txt file ? you can use readtable like this : ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
MATLAB program for counting total number of normal pulses in oscilloscope output
hello you need some kind of trigger to counts your pulses try this example - and set the threshold value to the correct leve...

plus de 5 ans il y a | 0

Réponse apportée
How can I go back to the initial condition and the script will read again from that condition
hello maybe you van do it this way each time you need to restart from the initial condition, call the IC function as shown he...

plus de 5 ans il y a | 0

Réponse apportée
finding peaks when axis are non-uniform
hi my 2 cent suggestion if x is not strictly increasing, resample your data on a vector that is 100% sure strictly increasing...

plus de 5 ans il y a | 0

Réponse apportée
fft finding oscillation frequency and strouhal number for lift
hello it's difficult to test your code if you share it only as a picture it looks ok but if you want to double check this is...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Move to the next row when reading the .csv file using csvread()
hello why making this so overly complicated ? m = csvread('data_points.csv') % gives : % % m = % % Columns 1 thr...

plus de 5 ans il y a | 0

Réponse apportée
How to estimate annual and semi-annual signals?
hello you're not stuck anymore below my code (the h parameters computation is the same as DFT coefficients) if you're stisfie...

plus de 5 ans il y a | 2

| A accepté

Réponse apportée
Bring some signals to the same start value and end value
hello if you want all data to start and stop at the same values , you can do that : it works even sampling rates are different...

plus de 5 ans il y a | 0

Réponse apportée
How can I read multiple mat files and perform ttest2 function?
hello my single for loop code example enjoy n = 108;; % number of files s = 2; % create combination of 2 elements [comb...

plus de 5 ans il y a | 0

Réponse apportée
How can I extract the width of the following graph.
hello this piece of code will give you the angle . Demo based on a half sinus wave. you can easily apply it to your case x= l...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How to filter all the frequencies from the audio signal.
hello 2 gifts for you today (lucky man !) a code for general spectral analysis examples of digital filters you can use to el...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
how to convert double .mat file to a column of numbers on excel
hello so this is a very basic code to load the data and store it as one column in an excel file. I am not sure to understand ...

plus de 5 ans il y a | 1

Réponse apportée
why 50hz can't be removed compeletely?
hello again I like simple solutions - see demo code below adapted to your case I hope 200 dB attenuation can be considered as ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Digital Signal Processing Filters
hello 1/ this is obviously an IIR filter as it has a denominator, which means the past outputs are also in the recursive equat...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
why 50hz can't be removed compeletely?
hello 2 gifts for you in the same day (you lucky ! ) a code for spectral analysis and time / frequency analysis a the end , ...

plus de 5 ans il y a | 0

Réponse apportée
How to read table from pdf
hello I don't know where the function extractFileText comes from So I'd did it my way : converted the pdf in excel file (on ...

plus de 5 ans il y a | 0

Réponse apportée
Fitting gaussian exponential to logscale
hello this a code that seems to work hope it helps I prefered to simplify as much the work of the optimizer , so first conv...

plus de 5 ans il y a | 1

Réponse apportée
How do I resample to have a uniform number of samples for each cycle of my signal?
hello Cai this little demo code for generating exactly 800 samples between each cycles load('maxamp.mat'); y = maxamp; sam...

plus de 5 ans il y a | 0

Réponse apportée
How to convert Acceleration- Time graph to Acceleration- Frequency graph?
hello you need to do some time / frequency analysis using STFT see specgram demo below : clc clear all %%%%%%%%%%%%%%%%...

plus de 5 ans il y a | 0

Réponse apportée
Signal Spectrum Plotting help
hello maybe you are taking about time / frequency analysis ? I can forward you my demo script about spectral analysis , yo...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Importing data from a .ASC file into different columns
hello a quick and dirty code for a 3 variables file example; there is certainly room for making it more generic hope it helps ...

plus de 5 ans il y a | 0

Réponse apportée
Plotting amplitude of individual frequencies over time.
hello this is a typical case were my little code snipset can be useful !! if you need to refine the frequency resolution, in...

plus de 5 ans il y a | 0

Réponse apportée
Implementing the Chorus Effect
hello again so this could be considered as a vectorized version of the original code. You can add multiple delayed versions of ...

plus de 5 ans il y a | 0

Réponse apportée
How does resample exactly work?
hello everything is explained if you type help resample resample Resample uniform or nonuniform data to a new fixed rate. ...

plus de 5 ans il y a | 0

Charger plus