Réponse apportée
I have a set of data that I need to separate into unequal intervals in order to calculate the RMS value of these data (The data points are continuous over time)
hello maybe this ? I know I reinvented the histogram ( :)) , in few lines... % Torque post processing data = readmatrix("...

presque 3 ans il y a | 1

Réponse apportée
How to find month wise mean and std from data of many years
hello try this T = readtable('data.csv'); data = table2array(T(:,2:end)); dates = T(:,1); month_mean = mean(data,2); mon...

presque 3 ans il y a | 0

Réponse apportée
Averaging different initial conditions over 10 years
nothing fancy here , but it does the job.... % create some dummy data ic = 160; years = 10; data = rand(365,ic*years); % ...

presque 3 ans il y a | 0

Réponse apportée
'Index exceeds array dimensions. Index value 0 exceeds valid range [1-12] for array 'A'.' I get this error when I run the code? Can you please help?
hello I replaced nansum which is outdatted by sum with omitnan parameter seems to work, at least for the input data I picked ...

presque 3 ans il y a | 0

Réponse apportée
Hello, I want to limit the number of coordinates generated by the method bwboundaries or boundary while having the same step size.
hello again I could reduce the amount of data by a factor 3 roughly , more could be done if the large "straigth" lines d...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Remove outliers until there are none left
hello I updated the end of your code the plot is for myself to see the difffences before / after thresholding (if hot spots ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
in R2023a, A text file, containing huge data in one column,How arrange data in 6 colum.where The first six number at the first Row and second six number in second Row.
hello to load your text file use readmatrix Read matrix from file - MATLAB readmatrix - MathWorks France then you can use th...

presque 3 ans il y a | 0

Réponse apportée
how to make my EWMA filter work
maybe this ? n=40; b=0.7; a=(1-b)/(1-b^5); w=a*b.^[0:4]; c=ones(1,n); avg=zeros(1,n); for k=1:n-4 avg(k)=sum(w...

presque 3 ans il y a | 0

Réponse apportée
gps average of a track
hello try this %--- smooth of 6 laps with some drift --- laps = 6; N = 1000*laps; t = linspace(0,2*pi*laps,...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
lsqcurvefit with 2 points trouble
maybe you want a parabola , you can use polyfit to obtain the best fit : x = 2e-5:2e-5:18e-5; y = [0.997 0.991 0.983 0.974 0....

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to separate high and low concentration areas in a given dataset as below?
hello try this maybe not the shortest route to final destination, especially if like me you don't have access to hist3 funct...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Measure phase between two discrete signals
hello I tried this : averaged fft spectrum, to find a dominant peak at 160570 Hz band pass filtered both signals zero c...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Finding max peak between two datetime values
hello try this clear all clc load EFFEKT %EFFEKT contains a value for every our of the year Abonnemang=21200; dt = datet...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Updating a graph by changing which column of a matrix is being plotted to create an animation.
hello try this L = 0.3000; X=linspace(0,L,4); Amplitude=[1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 15 16]; figure(1) p = p...

presque 3 ans il y a | 0

Réponse apportée
How to stop time loop when steady state is reached?
hello think I have understood your difference computation must be indexed with j , so it must be inside the for loop I used...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How to find the exact frequencies from a spectrogram plot?
hello a FFT based method will always give you the result with a frequency resolution that depends on the fft length and sampli...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Want to use nested For loop
hello here you are also you are plotting a complex valued array, so I assume you wanted to take the bas of it first abs(z) ...

presque 3 ans il y a | 1

Réponse apportée
Help improving speed of this code/loop
hello maybe this runs a bit faster ... my PC is not fast at all , and this loop needs less than 1 s to complete. I am not sure...

presque 3 ans il y a | 0

Réponse apportée
Can you modify my code?
hello I can make following suggestions : you can use readmatrix instead of load to read excel files also gradient exist n...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Shading in the SEM region surrounding a line plot
hello Angela and welcome back here is my suggestion based on surface seems also that there is no grid in your reference pictu...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to add together values in matrix and replace the empty spaces with zeroes
hello try this : T = [0 0 0 2 3 4 0 0 0 5 2 1]; % input data T_out = zeros(size(T)); % find start and end indexes of...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to compute the lap count in the data
hello this would be my suggestion : transform your cartesian data into polar ones and count how many complete revolution you...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Frequency based on acceleration data
hello I tried to do my best finding the fft length and overlap that gives me the best info - as your signal is quite unstation...

presque 3 ans il y a | 0

Réponse apportée
how to find the location of a value
hello try this see the peakseek function in attachment (faster and simpler alternative to findpeaks - you can also use findp...

presque 3 ans il y a | 0

Réponse apportée
Find peaks and valley of sinusoidal curve
hello @Maria Inês So far I understand you want the strain plot have all top peaks being on y = 0 line , like in your reference ...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Set a specific spatial frequency for my Guassian generated dots
hello maybe this ? now you can specify the x and y direction spacing with dx and dy (the total number of points is constant)...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Missing new line after Datapair
hello again this is what I believe is what you wanted as output format (table) T = 681×8 table Frequenz PK_MAX...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to make smoothen 3D surf plot?
hello I can make you these two suggestions , one is based on smoothn (see Fex : smoothn - File Exchange - MATLAB Central (mat...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Filled contour/colorized 2-D surface plot with large 3-D array (10000 x 3)
hello maybe this ? your data is large but lacks some refinement in the central area of the peak 90% of your data is Z close...

presque 3 ans il y a | 1

Réponse apportée
How do I add text detailing the bar's value to the top of each bar graph to 3 significant figures
hello again this would be my suggestion %% Plot Light Normal Bar Graph of Energy Consumption based off Power Curve fi...

presque 3 ans il y a | 0

| A accepté

Charger plus