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

3 years ago | 1

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

Answered
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)...

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 1

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

3 years ago | 0

| accepted

Answered
How to fit a line over a plot
hello seems to me you want to plot the envelope of your spectra there is a matlab function (Signal Processing Toolbox require...

3 years ago | 1

| accepted

Answered
Baseline removal front fingerprint raman spectra
hello a simple code based on this FEX submission Raman Spectrum Baseline Removal - File Exchange - MATLAB Central (mathworks...

3 years ago | 0

| accepted

Answered
How do I specify a different smoothing factor to each datapoint individually?
hello that was my first idea ; coding a first order recursive filter with variable forgetting factor (or pole) doing it forw...

3 years ago | 1

| accepted

Answered
Making two peaks into one
hello again have a look at the help of findpeaks; use this argument of findpeaks to keep only the tallest peak : MinPeakDist...

3 years ago | 0

| accepted

Answered
how to automatically find the location of the element/text in excel
hello here you are : T = readcell('example.xlsx'); % T = 6×3 cell array % {'Stage'} {'health' } {'Object'} % ...

3 years ago | 0

Answered
from figure file to mat file?
hello you can use that function to extract data from figures function data = extract_data_from_figures(filename) %% % % ...

3 years ago | 0

Answered
How do I colour different segments of a bar within a bar graph different colours (red or green) depending on if data has reached a threshold value
hello maybe this ? (simple demo) % stacked plot with threshold (lower => green, above th => red) weigths = (1:10); force =...

3 years ago | 0

Answered
Best baseline correction method for quasi-static response
hello this seems to be a reccurent topic on this forum... so here we go again... the best advice I can give are : 1/ make s...

3 years ago | 0

Answered
Measure duration of peaks in graoh
hello maybe this ? use that demo on your data and let me know the plot should look better on your PC compared to what is di...

3 years ago | 1

| accepted

Answered
Calculate LF HF for ECG using Welchs PSD
hello this would be my suggestion the nfft is choosen based on what frequency resolution (df) you need remember that df = f...

3 years ago | 0

Answered
how to search a specific element/text from excel and then show if it is true/false
hello simply do that the answer is logical 1 (true) as soon as contains at least one 1 (logical) , i.e. one instance of Fusa...

3 years ago | 0

Answered
Amplitude of a signal
hello basically you want to plot the envelope of your data , there is a function for that : envelope Envelope de...

3 years ago | 2

Answered
Automatically assign legend name to set of data
hello maybe this ? now you have y1,y2,... in your legend n=input('Enter the number of curves you want to fit: '); ...

3 years ago | 0

| accepted

Answered
How to read values from 'Parameters' in a .ssc file?
hello maybe this can help you the output is a structure (size depends of number of variables in your ssc file here we get :...

3 years ago | 1

| accepted

Answered
How to shift a curve to superimpose it with another one on the same figure ?
hello a simple demo below you can easily adapt to your data (not provided) x = 0:0.01:0.86; y1 = 1./cos(x+0.25)+0.01*rand(si...

3 years ago | 0

Answered
Bi-linear (piecewise) curve fitting
hello here you are all the best for this data file the max point of the red curve is displayed on the graph xred_max = ...

3 years ago | 0

Answered
How to specify labels on stacked bar plot
Hello maybe this ? y = []; states = 3; for i = 1:states a = rand(5,1); b = rand(5,1); y = [y; [[a, b]; ...

3 years ago | 0

| accepted

Answered
I would like to calculate the frequency response function (FRF) for my input frequency and output response from accelerometer
hello why are you using a single frequency tone for measuring FRF's ? normally we want to excite all frequencies (otherwie y...

3 years ago | 2

| accepted

Answered
differentiate between month in dataset.
hello maybe this ? % simplified code for one year scalar input years = 2023; % mm = (1:12); % monthes days_per_month =...

3 years ago | 0

Answered
getting errors while trying to plot
the error message is quite clear Unable to find file or directory 'negm_profiles.txt'. this file is not in your directory do...

3 years ago | 0

Answered
Help with computing FFT
hello here some suggestions and mods I did in your code remove the initial transient (t< 0.1 s) detrend data (so you don't ...

3 years ago | 0

Load more