Answered
How to Design a lowpass filter by cascading 10 sections of the first-order IIR lowpass filter
hello yes , conv is doing what your professor is asking , but this is the right way to use it (on the num and den part of your...

6 years ago | 1

| accepted

Answered
how can I cut a wav file, then put it back into folder back into a folder? Bad loop?
hello Morgan would suggest this code instead (also avoids doing audioread every time you loop ) filename=('C:\Users\....\.....

6 years ago | 0

| accepted

Answered
A loop that saves the data from the inner loop as next file
hello this is my suggestion - only one loop the code works whatever the dimensions of the data (tw1) you can also easily ch...

6 years ago | 1

| accepted

Answered
Perform FFTW of a song
hello I have exactly what you need ! you lucky man ! enjoy it

6 years ago | 1

| accepted

Answered
Estimating a second order transfer function for a over damped second order system.
so this is the poor's man (no ID toolbox ) , frequency domain ID it may help you all the best clc,close,clear; File1 = f...

6 years ago | 0

Answered
Conditionally select rows and add to new table
hello so official answer below (modified original code) good luck for the future ! load('ddtable2.mat'); % ddtable2 date_...

6 years ago | 1

| accepted

Answered
When simulating the response to a specific input signal, the input data U must be a matrix with as many rows as samples in the time vector T, and as many columns as input channels.
hello this seems to work better : clear clc m1 = 69000; m2 = 65000; m3 = 126000; k1 = 8000; k2 = 8500; c1 = 5200; c2 ...

6 years ago | 0

| accepted

Answered
Saving tables as separate Excel file with different file names
hello , this is a code that will do the job and also vice versa but IMHO, it's better so save your different data in one ex...

6 years ago | 1

Answered
How to classify data from text file?
hello when you say "classify" I believe you meant access the data inside the txt file ? you can use readtable like this : ...

6 years ago | 0

| accepted

Answered
MATLAB program for counting total number of normal pulses in oscilloscope output
hello you need some kind of trigger to counts your pulses try this example - and set the threshold value to the correct leve...

6 years ago | 0

Answered
How can I go back to the initial condition and the script will read again from that condition
hello maybe you van do it this way each time you need to restart from the initial condition, call the IC function as shown he...

6 years ago | 0

Answered
finding peaks when axis are non-uniform
hi my 2 cent suggestion if x is not strictly increasing, resample your data on a vector that is 100% sure strictly increasing...

6 years ago | 0

Answered
fft finding oscillation frequency and strouhal number for lift
hello it's difficult to test your code if you share it only as a picture it looks ok but if you want to double check this is...

6 years ago | 0

| accepted

Answered
Move to the next row when reading the .csv file using csvread()
hello why making this so overly complicated ? m = csvread('data_points.csv') % gives : % % m = % % Columns 1 thr...

6 years ago | 0

Answered
How to estimate annual and semi-annual signals?
hello you're not stuck anymore below my code (the h parameters computation is the same as DFT coefficients) if you're stisfie...

6 years ago | 2

| accepted

Answered
Bring some signals to the same start value and end value
hello if you want all data to start and stop at the same values , you can do that : it works even sampling rates are different...

6 years ago | 0

Answered
How can I read multiple mat files and perform ttest2 function?
hello my single for loop code example enjoy n = 108;; % number of files s = 2; % create combination of 2 elements [comb...

6 years ago | 0

Answered
How can I extract the width of the following graph.
hello this piece of code will give you the angle . Demo based on a half sinus wave. you can easily apply it to your case x= l...

6 years ago | 1

| accepted

Answered
How to filter all the frequencies from the audio signal.
hello 2 gifts for you today (lucky man !) a code for general spectral analysis examples of digital filters you can use to el...

6 years ago | 0

| accepted

Answered
how to convert double .mat file to a column of numbers on excel
hello so this is a very basic code to load the data and store it as one column in an excel file. I am not sure to understand ...

6 years ago | 1

Answered
why 50hz can't be removed compeletely?
hello again I like simple solutions - see demo code below adapted to your case I hope 200 dB attenuation can be considered as ...

6 years ago | 0

| accepted

Answered
Digital Signal Processing Filters
hello 1/ this is obviously an IIR filter as it has a denominator, which means the past outputs are also in the recursive equat...

6 years ago | 1

| accepted

Answered
why 50hz can't be removed compeletely?
hello 2 gifts for you in the same day (you lucky ! ) a code for spectral analysis and time / frequency analysis a the end , ...

6 years ago | 0

Answered
How to read table from pdf
hello I don't know where the function extractFileText comes from So I'd did it my way : converted the pdf in excel file (on ...

6 years ago | 0

Answered
Fitting gaussian exponential to logscale
hello this a code that seems to work hope it helps I prefered to simplify as much the work of the optimizer , so first conv...

6 years ago | 1

Answered
How do I resample to have a uniform number of samples for each cycle of my signal?
hello Cai this little demo code for generating exactly 800 samples between each cycles load('maxamp.mat'); y = maxamp; sam...

6 years ago | 0

Answered
How to convert Acceleration- Time graph to Acceleration- Frequency graph?
hello you need to do some time / frequency analysis using STFT see specgram demo below : clc clear all %%%%%%%%%%%%%%%%...

6 years ago | 0

Answered
Signal Spectrum Plotting help
hello maybe you are taking about time / frequency analysis ? I can forward you my demo script about spectral analysis , yo...

6 years ago | 0

| accepted

Answered
Importing data from a .ASC file into different columns
hello a quick and dirty code for a 3 variables file example; there is certainly room for making it more generic hope it helps ...

6 years ago | 0

Answered
Plotting amplitude of individual frequencies over time.
hello this is a typical case were my little code snipset can be useful !! if you need to refine the frequency resolution, in...

6 years ago | 0

Load more