Respondida
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...

casi 5 años hace | 0

Respondida
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 ...

casi 5 años hace | 1

| aceptada

Respondida
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) ' : ...

casi 5 años hace | 0

Respondida
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_...

casi 5 años hace | 0

| aceptada

Respondida
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...

casi 5 años hace | 0

| aceptada

Respondida
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...

casi 5 años hace | 0

| aceptada

Respondida
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 ...

casi 5 años hace | 0

| aceptada

Respondida
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...

casi 5 años hace | 0

| aceptada

Respondida
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...

casi 5 años hace | 1

| aceptada

Respondida
Importing unv file from Simcenter Testlab
hello try the attached functions , it works for uff and unv files hope it helps

casi 5 años hace | 0

Respondida
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...

casi 5 años hace | 1

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 1

Respondida
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...

alrededor de 5 años hace | 1

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 1

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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 -...

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

Respondida
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,...

alrededor de 5 años hace | 0

| aceptada

Respondida
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 .....

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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 : ...

alrededor de 5 años hace | 0

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 1

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

| aceptada

Respondida
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...

alrededor de 5 años hace | 0

Cargar más