답변 있음
How can I take the average of certain columns in each excel sheets
hello Marion see my example below (the dummy excel file is attached) hope it helps % Importing Data from excel across mult...

거의 3년 전 | 0

답변 있음
How to calculate 8 days mean from ten years data?
ok so we have to do the processing for each year and pay attention to the remaining (variable length) days NB that as we now h...

거의 3년 전 | 0

| 수락됨

답변 있음
Fitting a model to my data using non linear least square fit method
hello try this , hope it helps results : m = 24.5179 q = 1.2078 data = readmatrix('LVD_AE.xlsx'); x = data(:,1...

거의 3년 전 | 0

답변 있음
How to fit an equation (catenary equation in 2D) to a 3D dataset (experimental data of a catenary curve in 3D) ?
This is a lazy (tired) guy answer i figure out I could easily transform the 3D array into 2D then do a parabola fit (yes I know...

거의 3년 전 | 1

답변 있음
Combining vectors in a for loop to form a final matrix
For small tables / arrays I don't pay too much attention to preallocation (but it's important if you are dealing with large data...

거의 3년 전 | 0

| 수락됨

답변 있음
peak average of consecutive values in a matrix array
hello maybe this ? I am using peakseek , this fex submission is available here PeakSeek - File Exchange - MATLAB Central (...

거의 3년 전 | 0

| 수락됨

답변 있음
Optimization problem fitting arrays
hello this is the poor man's solution with fminsearch (as I don't have the optimization toolbox but you can easily use fmincon...

거의 3년 전 | 0

| 수락됨

답변 있음
How to convert 15days data into monthly scale?
hello I downloaded some files (not all as they are pretty big) to test my code the image format is grayscale so I get a 2D ar...

거의 3년 전 | 1

답변 있음
Filter data by flag columns
hello this is my first attempt , I hope I didn't make any mistake in your requirements interpretation still there is one case...

거의 3년 전 | 0

| 수락됨

답변 있음
cubic interp2 on latitude & longitude data. wind comparison
hello I am not an expert for atmospheric data post processing, buth here are my findings 1 / seems to me flipping the data is...

거의 3년 전 | 1

| 수락됨

답변 있음
index exceed matrix elements
Code improved below same mistake found as @Voss % data=[0 6 900; % 6 7 2400; % 7 15 3000; % 15 18 1800; ...

거의 3년 전 | 0

답변 있음
How can I display the cursor coordinates on a heatmap?
hello this is maybe one solution, based on this info Enable data cursor mode - MATLAB - MathWorks France result (screenshot...

거의 3년 전 | 0

답변 있음
Why are some plot figures not showing all lines?
you are displaying twice the same numerical data so colors are hidden this comes from a mistake when you load the data , you a...

거의 3년 전 | 0

| 수락됨

답변 있음
How to generate odd frequency sinusoid input using idinput
I don't have anything against idinput , but why can't you do this directly with some basic code : f = (1:2:7); % odd frequenci...

거의 3년 전 | 0

답변 있음
calculate Wavelength of vortices from noisy velocity fluctuations data.
hello this s a simplified code taken from a more general one I use for noise and vibration data analysis , but it can be used ...

거의 3년 전 | 0

답변 있음
How to remove the ripple or artifacts caused by lowpass filter?
hello Butterworth filters do have ripples in their step response... look at the step response of your Butterworth filter wit...

거의 3년 전 | 0

| 수락됨

답변 있음
least square fit "lsqcurvefit" not good enough?
hello you can get better results if you start the fit not at index 1 , but a bit above, as your first sample seems a bit off a...

거의 3년 전 | 0

| 수락됨

답변 있음
Need guidance to loop directory, import .csv, get corresponding data from 2nd row and filter first, extract this corresponding data.
hi below some simple code to loop in a folder - we could also loop over multiple folders if we need to there will be still a...

거의 3년 전 | 0

답변 있음
How to get rid of spikes from the attached graph
hello you mean the spikes down to zero that appears on the 2nd channel ? this is my suggestion load('batterycellhighvolt...

거의 3년 전 | 0

답변 있음
How to determine phase shift and slope for a varying waveform?
hello I would suggest to compute the zero crossing time coordinates of both signals the function used here implement linear ...

거의 3년 전 | 0

| 수락됨

답변 있음
How we can define the same number of contour vertices (points)in each level?
hello again this is the code I was suggesting above now all the level lines have same number of samples N = 50 here. if you ...

거의 3년 전 | 0

| 수락됨

답변 있음
How to compute a weighted mean between two polygons?
hello maybe this ? (nothing fancy) as W1 and W2 are almost the same , the resulting average curve (black dashed ) is half way...

거의 3년 전 | 0

답변 있음
How to make a contourf plot follow a line?
hello again here a small demo code based on a first given elipse (bottom left on the picture) you can use a spacing between t...

거의 3년 전 | 2

| 수락됨

답변 있음
May I ask if there are any good methods in MATLAB that can fit broken lines
hello again @tabf this would be my suggestion - of course it has some ressemblance to my answer in your other post. when looki...

거의 3년 전 | 0

답변 있음
Combining data in tab-delimited .txt files together that each have multiple headers into a single growing .txt file?
hello this would be my suggestion ..based on dummy "new" data generated with random vertical length to mimic your case. it sh...

거의 3년 전 | 0

| 수락됨

답변 있음
Please share the algorithm of the particular data set. I want to find out average of the attached data of every 5 seconds. Thank You
hello try this data = readmatrix('Data.csv'); % Force (N),Position (mm),Time (sec) Time = data(:,3); t = linspace(Time(1...

거의 3년 전 | 0

| 수락됨

답변 있음
Display 2D Data in a 3D plot
i believe that should be sufficient for what we need pay attention to your row and column indexes when you import data (here...

거의 3년 전 | 1

| 수락됨

답변 있음
Creating a linear array of pulses
maybe this ? I am not sure how you compute the "normalized on time " values so I tried something on my own : h = dc(k)/sum(d...

거의 3년 전 | 0

| 수락됨

답변 있음
Artefacts deflecting to zero in a signal
seems to me that with filloutliers we can achieve a good result here you may have to tune the parameters to get the best res...

거의 3년 전 | 0

| 수락됨

답변 있음
Bad Exponential Fit of Data: How to solve a problem with bad parameter estimation
hello a very simple approach can give you the right answer : load('Qdata.mat') % model : y = b*exp(m*x); P = polyfit(X...

거의 3년 전 | 1

| 수락됨

더 보기