답변 있음
Generating some sounds and present all of the sound randomly to left and right ear
hello again we need to clarify a bit the data you generate (see my comment above) , but basically this is your code a bit modif...

18일 전 | 1

| 수락됨

답변 있음
How to turn a code into a function while one of the input is string
hello Reza see my suggestion below A is now a cell array I added a structure param to easily pass the various coefficients ...

18일 전 | 0

답변 있음
I'm trying to use loop function and want to cut my code short, and my end goal is to compare idle components from 7 idle machines, from an excel data, I'm not sure how to do
hello as far as I understand your request , this is a modified code (see below) i splitted a main section and a subfunction s...

18일 전 | 0

| 수락됨

답변 있음
Index exceeding number of array elements on second iteration of loop
hello your variables are not indexed , so this is no surprise that it will fail at the second iteration code should be , ass...

21일 전 | 0

답변 있음
Extracting specific data from multiple excel files and create a single matrix from those
hello this is one example if you want to work out the entire folder I assumed it would be numeric data so I used importdata (...

21일 전 | 1

| 수락됨

답변 있음
plotting noise spectrum of the data
hello Nirala this is my go to fft analysis code for signals it does fft with averaging and spectrograms you can modify the ...

21일 전 | 0

답변 있음
how to get Y Value from a plot having 3 curves or more as shown in figure?
hello you can try this code clc clearvars % dummy data n=100; x=(0:n-1)/n; y1 = 3*sin(1.5*x)+ 0.01*randn(1,n); y2 =...

21일 전 | 0

답변 있음
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...

21일 전 | 0

답변 있음
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 ...

22일 전 | 1

| 수락됨

답변 있음
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) ' : ...

22일 전 | 0

답변 있음
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_...

26일 전 | 0

| 수락됨

답변 있음
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...

27일 전 | 0

| 수락됨

답변 있음
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...

27일 전 | 0

| 수락됨

답변 있음
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 ...

28일 전 | 0

| 수락됨

답변 있음
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...

29일 전 | 0

| 수락됨

답변 있음
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...

29일 전 | 1

| 수락됨

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

29일 전 | 0

답변 있음
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...

29일 전 | 1

답변 있음
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...

약 2달 전 | 0

| 수락됨

답변 있음
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...

약 2달 전 | 1

답변 있음
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...

2달 전 | 1

| 수락됨

답변 있음
hello based on the first post you can do that : tested with dummy data ( commented lines) of different size ... so it works w...

2달 전 | 0

| 수락됨

답변 있음
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...

2달 전 | 1

| 수락됨

답변 있음
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...

2달 전 | 0

답변 있음
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 -...

2달 전 | 0

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

2달 전 | 0

답변 있음
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...

2달 전 | 0

답변 있음
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...

2달 전 | 0

답변 있음
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,...

2달 전 | 0

| 수락됨

답변 있음
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 .....

2달 전 | 0

| 수락됨