Réponse apportée
Scaning a txt file
hello Carolina this code will scan the file and search for the targeted variables you can expand (add more variables) if you ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Edit Textfile for analysis
ok so my 2 cent suggestion to make that array looks nicer - lines = readlines('aba.txt','WhitespaceRule','trim'); ll_out ...

plus de 5 ans il y a | 1

Réponse apportée
Need Help about FFT and STFT
hello see the code below for (averaged) fft analysis and spectrogram you can easily incorporate a test to select samples tha...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
read files and check if something is number
hello see the different options in code below my prefered one is the second a=readcell('test.txt',"Delimiter",":"); % % o...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Plotting a random walk step by step
hello IMHO, the problem comes that x and y are not reinitialized (put to zero) when you start the next walk so I changed thi...

plus de 5 ans il y a | 0

Réponse apportée
How to extract numbers from .dat file
hi again these are 3 options I tested for you ; i believe the second one is what you are looking for a=readcell('data.dat',"...

plus de 5 ans il y a | 0

Réponse apportée
How to compare two frequency time graphs?
hello see below , we are generating a signal with 2 frequencies , then do fft for showing their frequencies. the time plot w...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How to denoise a response to step forcing?
hello I tried 2 simple methods : sliding window averaging : not very effective to fit an exp model : will almost give the ...

plus de 5 ans il y a | 1

Réponse apportée
using for loop plotting problem help me
hello I assumed that you wanted to plot I and error , but you forgot to index thos variables see below : f= @(x) 3*x^5+7*s...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
find the zero Value of a data
hello you use this function for detecting and ploting data crossing points threshold can be whatever value - not only zero ...

plus de 5 ans il y a | 0

Réponse apportée
Conditional statements on array.
hello Santos this is one way to do it split the input vector in 12 long extracts, then search for any value inside that is a...

plus de 5 ans il y a | 1

Réponse apportée
How do I import a column (f.e. C2:C37) of multiple Excel files into one vector in Matlab?
hello this is a simple code to load multiple excel (one sheet) data you can build your solution on this example file_list =...

plus de 5 ans il y a | 0

Réponse apportée
attenuate part of the audio
hello Sofia here some example below : %% example 1 : fading out the last 1 second of the wav file [Y1,Fs]=audioread('demo....

plus de 5 ans il y a | 0

Réponse apportée
How can I obtain the right convergence number from what I have done so far??
hello this seems to work better - :) clc clear x = input('Enter the angle in radians: '); Count = 0; Estimate = inf; Pre...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to create matrix with other matrixes by joining them?
hello here you are no loops res = zeros(2,2*size(a,2)); res(1,1:2:2*size(a,2)) = a; res(1,2:2:2*size(a,2)) = b; res(2,1:...

plus de 5 ans il y a | 1

Réponse apportée
Group data in specific potition (data redistribution)
hello back so I modified the code to respect empty sections - hope it helps ! % data1 = readcell('Input.xlsx'); data1 = ...

plus de 5 ans il y a | 0

Réponse apportée
Group data in specific potition (data redistribution)
Hello Ivan see below I added a 3rd line in your input file (just copied the first line) so that the output I generate can be...

plus de 5 ans il y a | 0

Réponse apportée
How to choose the right time and frequency vectors?
hello see example below : the notch filter simu is a bonus %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%...

plus de 5 ans il y a | 0

Réponse apportée
temporal discretisation and time step value
hello some suggestions / corrections for your code do not forget to pay attention to units , otherwise you may have wrong pul...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
read .csv file, append content to another .csv file
hello this is it : data1 = readcell('file1.csv'); data2 = readcell('file2.csv'); [m,n] = size(data2); data_out = [data1;d...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Calculate the rate of change from 5 minutes interval
hello Ann welcome back ! here the end of the code , I don't know if the rate is per second or per minute, you to decide %___...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How to solve a data length error in the function "filtfilt"?
hello Lea your issue is related to the size of the input data filtfilt works only on "vertical" vectors so the first dimens...

plus de 5 ans il y a | 0

Réponse apportée
Power Spectrum with frequency as x-axis and db level as y-axis
hello from what I see , the x axis units is already in Hz to convert to dB scale , use this : y_dB = 20*log10(abs(y_fft)) ...

plus de 5 ans il y a | 0

Réponse apportée
how to plot 3d spectrogram from data in txt file
hi using Walter's code above + the attachement , you have all the tools to do this spectrogram analysis all the best

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
creating wav files that contain sequences of pulse bursts
hello so this would be my suggestion , build on the existing code you can uncomment the window section f it appeals to you ...

plus de 5 ans il y a | 0

Réponse apportée
Calculate standard deviation of 5-minute for different time interval
hello Ann I slightly modified your code so the data are resampled with time increment of 5 minutes (or whatever value you're ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to pick data with fix moving window ?
hello create index vector with delta = 5 : ind = min(data):5:max(data); and use it to extract the corresponding data value...

plus de 5 ans il y a | 0

Réponse apportée
How to convert S-parameters (MA format) to transfer function or impulse response?
hello IMHO, the best way is to find a FIR or IIR filter that mimics the magnitude / phase plot of the FRF - see invfreqz once...

plus de 5 ans il y a | 0

Réponse apportée
How to use smoothing spline to fit a closed curve?
hello this will do the trick all the best , load('exampledata.mat') x = data1(:,1); y = data1(:,2); centroid_x = mean(x)...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How to read the data file and assign it for the variables
hello so I modified the way you load the data and assign them to FD array I works on my side all the best , % close all C...

plus de 5 ans il y a | 0

| A accepté

Charger plus