Answered
Complex value computed by model function, fitting cannot continue. Try using or tightening upper and lower bounds on coefficients.
hello a very basic code using only fminsearch (no toolbox required ) I preferred to smooth a bit your data (otherwise it loo...

2 years ago | 1

Answered
create a 3D average curve from two 3D curves
hello Alberto and welcome back we need to sort and remove duplictes in your data before creating a common z vector, then inter...

2 years ago | 0

| accepted

Answered
Workspace sorting order of new desktop
hello maybe a stupid idea but , if that solves the problem until you find a better solution, why not ? I first thought that ...

2 years ago | 0

Answered
How do I stitch these data and get a final plot
hello maybe this ? clear all S=readmatrix ('Probe.txt'); T=S(:,[2,3]); i=0; for j=0:60:300 R=[cos(j) -s...

2 years ago | 0

Answered
How to use the attached excel file below to do a Fourier conversion and display the spectrogram?
hello you can use my "do it all" demo file below your signal has been detrended and downsampled . But I wonder what you can ...

2 years ago | 1

| accepted

Answered
Converting acceleration data to displacement data using FFT results in Zero-drift
FYI, a very simple time domain approach - assuming we don't care about the DC values , only the dynamic portion of the data is o...

2 years ago | 1

Answered
I Just Want To Read Text From URL And Save It As Txt.... But How?
hello try this textweb = webread("https://kp.gfz-potsdam.de/kpdata?startdate=2024-05-21&enddate=2024-05-26&format=kp1#kpdata...

2 years ago | 2

| accepted

Answered
To plot one stem with multiple values for data of different months.
hello @Amjad Iqbal I modified a bit your code added one line in the first for loop number_of_data_thismonth(k) = numel(...

2 years ago | 0

Answered
Find specific points of increase within multiple different data sets
hello try this... hope it helps - though I did not draw vertical lines but you have to start and ending points coordinates. I...

2 years ago | 0

| accepted

Answered
Need help for Influence line plotting
hello I believe there is no mistake in the code simply you have a fairly crude spatial resolution (fixed to 0.5 m in the cod...

2 years ago | 0

| accepted

Answered
is my code logically correct? will i get the same output when i do it manually?
hello I wondered if the exercise was more to prove that decimating then resampling (by the same factor) would give (almost) th...

2 years ago | 0

Answered
First Order Ogden Stress Strain Plot
hello I believe parentheses are missing for the last term % Stress calculation for compression stress_comp = (mu1/alpha1) *...

2 years ago | 0

Answered
Mean shift clustering - issue with finding the center of my clusters
Now probably my best contribution so far , and I post it here with maybe the hope that you will find it interesting enough to ac...

2 years ago | 1

Answered
how to count a sequence of data arrays with cut off?
hello why not simply this ? % example 1 cnr_all=[2.33 2.00 1.60 1.59 1.99]; cut_off=1.50; [~,N] = min(cnr_all - cut_o...

2 years ago | 1

Answered
graph multiple excel or csv files
hello try this if you have lot of excel files and you want to be sure they are sorted correctly (what the regular dir does ...

2 years ago | 0

Answered
Find minimum values based on unique number
hello the provided mat file contains 492 different profiles (and not 147) my suggestion so far : load('matlab.mat') pr...

2 years ago | 0

| accepted

Answered
Translate and rotate a curve
hello Mads like this ? load('pqfile.MAT') % remove NaN and correct for size mismatch A(isnan(A)) = []; F(isnan(F)) = []...

2 years ago | 0

| accepted

Answered
Subtractive Baseline-correction
hello I was first a bit puzzled when you mention the baseline is made of the first 10 samples - but after several readings it ...

2 years ago | 0

| accepted

Answered
how to delete nan values from array columns without losing data from other columns
ok, so this is now the main dishes.... have first tried this code on the first data file , will adapt to your new files as soo...

2 years ago | 0

| accepted

Answered
Mean shift clustering - issue with finding the center of my clusters
hello Marco seems that your issue is simply because the function works for row oriented data see those lines in MeanShiftClus...

2 years ago | 1

Answered
autocorrelation plot without the grid of lines
hello you can remove the grid by specifying grid off after the plot Mdl = arima(AR={0.75,0.15},SAR={0.9,-0.5,0.5}, ... ...

2 years ago | 0

| accepted

Answered
how to make distance affect on attenuation factor?
hello again try this corrected code : [inwave,fs]=audioread("anechoic_voice.wav"); %LOW-PASS FILTER% % Define filter spe...

2 years ago | 0

| accepted

Answered
Help creating RMS Window
hello here some demo code FYI % dummy data n = 1000; Fs = 100; dt = 1/Fs; t=(0:n-1)*dt; y = max(0.707,abs(cos(t))+0.1*ra...

2 years ago | 0

Answered
How can I remove inverted repeat pairs of strings from a table?
hello Paul this would be my suggestion attached your data simply pasted in a text file hope it helps clc out = readcell(...

2 years ago | 0

Answered
How to remove unwanted region in a graph
hello see filloutliers , it was made for you Detect and replace outliers in data - MATLAB filloutliers - MathWorks France I...

2 years ago | 0

| accepted

Answered
Findings the parameters from the time series
hello here you are there is still a doubt in my mind for the third (last ) iteration for R3 according to your excel file th...

2 years ago | 0

| accepted

Answered
Find data from txt file
Simply using the suggested methods , you can access your DT data this way I simply created two data files from you post I u...

2 years ago | 0

Answered
How to seperate a superimposed sinusoidal wave from a signal
hello try the code provided below I found that the sinus signal frequency is probably around 0.5 and not 1 Hz therefore I u...

2 years ago | 1

| accepted

Answered
Signal Analyzer Lowpass filter overshoots input signal
hello again so here you can see your signals (in time and frequency domain) before and after low pass filtering (I used here fi...

2 years ago | 0

| accepted

Answered
Trying to ubderstand the power distribution in fft plot
hello the total power of the fft spectrum equals ~100W pow_spectrum_total = 99.9502 but your fft spectrum spread it on mul...

2 years ago | 0

| accepted

Load more