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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 0

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

| aceptada

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

alrededor de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

| aceptada

Respondida
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'} % ...

más de 3 años hace | 0

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

más de 3 años hace | 0

Respondida
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 =...

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 2

Respondida
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: '); ...

más de 3 años hace | 0

| aceptada

Respondida
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 :...

más de 3 años hace | 1

| aceptada

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

más de 3 años hace | 0

Respondida
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 = ...

más de 3 años hace | 0

Respondida
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]; ...

más de 3 años hace | 0

| aceptada

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

más de 3 años hace | 2

| aceptada

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

más de 3 años hace | 0

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

más de 3 años hace | 0

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

más de 3 años hace | 0

Respondida
How to put fitting constraints on smoothing splines
hello this is the poor's man suggestion, (no Curve Fitting toolbox, no spline smoothing) try it and let me know load data...

más de 3 años hace | 0

| aceptada

Cargar más