Respondida
How to interpolate/resample an irregular dataset into 1 step spacing?
hello Becky try this the second case means you ask interp1 to do extrapolation, as your original x data do not covers the en...

más de 3 años hace | 0

| aceptada

Respondida
How to simulate data from txt correctly?
hello I tried to reproduce your problem , but got the right output , not what you show... hope the attached files can help you...

más de 3 años hace | 1

| aceptada

Respondida
import a certain text file .txt from a specific folder
hello again for numerical arrays use readmatrix instead of importdata folder = 'C:\Users\Alberto\....'; % folder where the .t...

más de 3 años hace | 0

Respondida
save .TXT inside a specific folder
hello try this new_folder = 'C:\Users\....\Folder A' A = ; % matrix 200x3 double save(fullfile(new_folder, 'file.txt'), 'A...

más de 3 años hace | 0

| aceptada

Respondida
How can I write self-invoking code for hundreds of wav files for the same loop and call those files to matlab?
hello something like this ? this demoes the excellent FEX submission Natural-Order Filename Sort - File Exchange - MATLAB ...

más de 3 años hace | 1

Respondida
Identify lines that have a repetition (unique function)
hello simply this now the 4th column is your repetition quantity a=readmatrix("file.txt"); [output,ia,ic]=unique(a,'rows'...

más de 3 años hace | 0

| aceptada

Respondida
How to compute the correlation coefficient in the two data set.
hello so once we have digitized the picture with grabit , we have two data mat files (attached) available for further processi...

más de 3 años hace | 0

Respondida
Fourier Transform of window functions
hello maybe this can help you wL = 30; % window length win1 = hanning(wL); win1 = win1/sum(win1); % normalize win2 = t...

más de 3 años hace | 1

| aceptada

Respondida
Downsampled data exceeds the input data
a demo is maybe more efficient here so the original data gets resampled at 60 Hz by using only the start / end points of the t...

más de 3 años hace | 1

| aceptada

Respondida
smoothing with Gaussian Kernel for loop problem
hello try this lambda = 0.05; tv = (1:1:1000)'; nv =length(tv); ys = sin(4*pi*tv./max(tv))+0.25*rand(nv,1);% dummy data...

más de 3 años hace | 0

| aceptada

Respondida
Correlation of similar Signals
hello maybe this ? define a buffer lenth and an overlap (here I took the max possible overlap) and use corrcoef (take the no...

más de 3 años hace | 0

| aceptada

Respondida
Import not consistent table data
hello again so this first simple code will extract the data as one single block if you need to separate the data in individu...

más de 3 años hace | 2

| aceptada

Respondida
date time from filename
hello try this code below I use fullfile instead of your method to concat folder and basename your path and filenames shoul...

más de 3 años hace | 0

| aceptada

Respondida
creating the chorus effect without using a loop
hello the chorus effect is basically a multiple echo effect ; the echo by itself is a delayed version of the original signal ,...

más de 3 años hace | 1

| aceptada

Respondida
How can I disregard part of the signal when calculating midline of my data signal?
hello see code below for midline and signal oscillation frequency computation (cycle to cycle "zero" crossing detection) a PI...

más de 3 años hace | 0

| aceptada

Respondida
Import multiple .txt files and add separate arrays for each
hello Alex see code below natsortfiles may be an option if there is a stringent need to process the files in a truly sorted ...

más de 3 años hace | 0

| aceptada

Respondida
How to smooth the curve indicated on the image?
hello you can try this adjust the amount of smoothing (and window type ) in this line : rs = smoothdata(r_new,'gaussian'...

más de 3 años hace | 1

| aceptada

Respondida
How can I boost audio with a peak filter?
hello according to the doc Design second-order tunable notching and peaking IIR filter - Simulink - MathWorks France this i...

más de 3 años hace | 0

Respondida
Collect several satellite images from the INPE/CPTEC collection
hello Augusto try this code as far as I could find out there are pictures available with a time delta of 10 minutes choose ...

más de 3 años hace | 0

| aceptada

Respondida
How to fit a data to a model without using Statistical Toolbox?
hello @Decy it seems the model choosen is not realy a good match with the data (or vice versa) here a demo using fminsearch wi...

más de 3 años hace | 0

Respondida
Find all global minima und maxima of an Graph
hello Benedikt someone will probably tell you how findpeaks is powerfull but sometimes I simply prefer to rely on old but good ...

más de 3 años hace | 1

Respondida
Generating sequences with minimal overlap
hello maybe this ... the result appears in store_str (in your command window) % init edges = (1:1:9); k = 0; store = [];...

más de 3 años hace | 0

| aceptada

Respondida
Check the data and replace it with corresponding values
hello Adeline try this code to make it a bit more compact and faster I remove the empty columns in your data file. the code w...

más de 3 años hace | 0

| aceptada

Respondida
Script for audio analyzing
hello try this code FYI, having the sampling rate at 1MHz is massive overkill if you intend to analyse only below 1 kHz. I...

más de 3 años hace | 0

Respondida
How can I find data on excel file and paste it back on excel?
hello you can try this code it could be made a bit simpler bu using the fact that the data to be retrieved from sheet 2 foll...

más de 3 años hace | 0

| aceptada

Respondida
FFT spectral leak?
hello the amplitude accuracy depends if your signal frequency matches or not the fft frequency vector bins . If not your estim...

más de 3 años hace | 0

| aceptada

Respondida
Problems using 'tfest' for generating transfer function
hello again here a bunch of files to post process your data I don't have the ID toolbox but I have the Signal Processing Tbx...

más de 3 años hace | 0

| aceptada

Respondida
TXT File Population with Arrays and Text
hello maybe not the cleanest code but writecell make this doable without to much headaches % export results to txt filenam...

más de 3 años hace | 0

Respondida
Collect cmorph data through matlab command window
Quick and dirty fix for the date , as we have it in the nc file name % Download the CPC data used in the script below % Direct...

más de 3 años hace | 0

| aceptada

Respondida
I want to generate a lateral speed plot with range of forward speeds
hello you can do a for loop a = 1.34; L = 2.851; m = 2425; Iz = 2700.0; Caf = 1900; Car = 2000; b=L-a; g=9.81; ...

más de 3 años hace | 0

| aceptada

Cargar más