Réponse apportée
For loop the last end first values problem
hello your code works - depends what you do in the first loop. here with rand to create different outputs for A(end) you cou...

presque 5 ans il y a | 0

Réponse apportée
How to solve the error and get p2 value?
hello your errors are due to trying to access a structure in a wrong way , like : m1=xa(end,2); I suppose the intention is ...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Calculating number in a string
hello you can add these lines to your code : for ci = 1:nLines if size(fileStr{ci})>0 disp([num2str(ci) ' : ...

presque 5 ans il y a | 0

Réponse apportée
Equivalent matlab function for python librosa.resample
hello Betty you can do this to upsample the data : n = length(UL_filter); nx = length(x); % code for upsampling data x_...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
how to get the row and column number of a specific value in an array
hello my suggestion : it gives row = 2 and col = 9 (e = 15) D = [42 24 20 17 20 24 19 18 18 1...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How can I plot a curve with different ranges for x?
So basically , the updated code as guessed from your initial request clear all; clc; %% r = 3 tau_E = 3.69; % average time i...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Splitting Graph into Sections based on Peaks Found
hello David quick and dirty trial to make your code work automatically and as good as it can in my limited time availability ...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Normalize graph chebyshev filter
hello I tried an iterative correction method . I plot the frf of the filter in dB and 0.7 then correspond to the - 3 dB cutoff...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
Correcting a y-shift when filtering signal in the frequency domain
hello Josh when it comes to smooth a noisy signal, I usually go for smoothdata. Code is simple and it works well , no delay bet...

presque 5 ans il y a | 1

| A accepté

Réponse apportée
Importing unv file from Simcenter Testlab
hello try the attached functions , it works for uff and unv files hope it helps

presque 5 ans il y a | 0

Réponse apportée
How to get plot in time scale instead of number of image frames?
hello as you know the time interval and the number of frames , it's fairly simple to create a time vector in seconds updated...

presque 5 ans il y a | 1

Réponse apportée
Remove gravity component from accelerometer data
hello Francesco the simplest method is to simply remove the mean value of your signal. another approach is to use a high pass...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Using writetable in a for loop to create new txt/csv files for each step
hello seems you were one inch or even less to a solution . Now it was a bit unclear to me if you wanted to save the new tabl...

environ 5 ans il y a | 1

Réponse apportée
How can I plot the mid-curve or interpolant between several curves?
Hello Leonardo this is my suggestion; to be able to do math between different sets of data (like doing the average) you have f...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
Loading multiple mat files and plot them right
hello based on the first post you can do that : tested with dummy data ( commented lines) of different size ... so it works w...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to alter data (multiply) from all the columns of multiple text files in a folder
hello this is my suggestion ... the natural sorting order of the files may not be critical here, but it may be helpful anoth...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
How can I plot a data set after applying cascaded filter?
hello Soeun I did a couple of modifications / corrections in your code please note that for the notch filter , the low and hi...

environ 5 ans il y a | 0

Réponse apportée
How to visualize time frequency information of time series signal using continuous wavelet transform
hello I used this FEX submission as I don't have the Wavelet Toolbox cmccrimm/Continuous-Wavelet-Transform - File Exchange -...

environ 5 ans il y a | 0

Réponse apportée
How to have the input files labels in the output files
hello my 2 cents suggestion : imgFolderStokes = fullfile('Data/Stokes_Parameters/'); imgStokes = imageDatastore(imgFolderSt...

environ 5 ans il y a | 0

Réponse apportée
How to compute poles-zeros using matlab?
hello I hope the coefficient in b and a are correct (then the zeros and poles are inside the unit circle ) , because the first...

environ 5 ans il y a | 0

Réponse apportée
Integrate Acceleration to velocity, wrong plot
so finally... try this / adapt it to your own needs . I can further help you if needed FYI : this code does two integrations...

environ 5 ans il y a | 0

Réponse apportée
Differencing Across 2 Different Sized Matrices
hello I think this works fine with a single loop : % dummy data Matrix_1 = randn(1440,721,480); Matrix_2 = randn(1440,721,...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to detect point before a positive ramp
hello I have combined threshold crossing detection with second order derivative this is the result on a noisy pulse train .....

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to overcome reaching NaN in trying to write Secant Method?
hello there is one point that you missed , is to break / stop the iteration as soon as the variation of x becomes lower than a...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How to read in a .txt and arrange the data into a scheme?
hello this is the best solution (IMO) : it will generate a table with identified variables names you can easily access : ...

environ 5 ans il y a | 0

Réponse apportée
FIltered signal not matching with the original signal.
hello I see that you are doing a detrend action on your data. This will remove the dc (mean) value of the signal , so no surpr...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
calculate speed and distance from gear wheel pulses sensor
hello Frederico Had to guess the sampling rate as it's not defined in your post... so I estimated it around 100 kHz. I did a...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Inactivate PID controller for 3 seconds
hello simply add a switch block at the input side of the PID the first signal (input) of the switch is zero, the second is t...

environ 5 ans il y a | 1

| A accepté

Réponse apportée
How can I increase the size of an array that is already in the workspace with increments of 0.1?
so this is the status now : 1/ I believe I fixed a couple of issues at the end of the main code : now both linear and spline...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
How can I increase the size of an array that is already in the workspace with increments of 0.1?
so , maybe now I acn provide an answer.... had a couple of questions to myself - and tried to solve it this way : now we hav...

environ 5 ans il y a | 0

Charger plus