Answered
How to plot an inflection point from a temperature profile data source?
hello here you are enjoy it ! % sliding avg method temp_out = myslidingavg(temp, 50); figure(1), semilogx(time,temp...

6 years ago | 1

| accepted

Answered
Adding to an already existing matlab struct in a for loop
hello first , I am not sure what you are doing here : Data.C(1).TimeSeries=U'; Data.C(1).TimeSeries=P'; Data.C(1).TimeSe...

6 years ago | 0

Answered
System Identification Toolbox not importing data properly
hello seems you are giving the amplitude in dB whereas the ID toolbox parameters is waiting for a linear scale amplitude so yo...

6 years ago | 0

| accepted

Answered
How to cross correlate two audio files
hello you forgot to check that x and y must have exactly the same length to use xcorr so this is a little improvement to avoid...

6 years ago | 2

| accepted

Answered
How to plot smooth curve
hello simply increase the x axis points density change the first two lines so you have now 10 more points in your curves - l...

6 years ago | 1

| accepted

Answered
Read a list of filenames in a text file
hi this is my suggestion files = readcell('file_list.txt'); % read txt file to get mat filenames % % this is just to ge...

6 years ago | 1

Answered
How concatenate all the excel filles in one table in MATLAB
hi this is an example folder = cd; folderout = [cd '\out']; Files = dir(fullfile(folder, '*.xlsx')); % Use absolut...

6 years ago | 0

| accepted

Answered
MatLab: Average (column,row) entry across many different files -> create output file
So this is my suggestion I wonder why we need to average also the 3rd column with is the time values ?? making not much sense I...

6 years ago | 0

| accepted

Answered
Stacked spectrogram with months on horizontal axis and frequency on vertical axis
hi this is my suggestion; the spectrogram individual data are "stacked" along the time axis NB that the frequency content i...

6 years ago | 0

| accepted

Answered
Determining frequency of pulses from a shaft encoder
hello Marc this is a simple home made counter that is used to calculate the actual frequency of the incoming signal the frequ...

6 years ago | 0

Answered
How do I calculate the SPL from a .wav file with a calibrated value?
hello you can simply compare the rms value of the two wav files to know the SPL of the signal vs the calibrated signal : S...

6 years ago | 1

Answered
Create multiple excel sheet using loop and rename them using loop
hello this is my suggestion : VariableNames = {'Customer','x','y','d'}; SheetNames = {'A','B','C','D'}; filename_out = '...

6 years ago | 0

| accepted

Answered
How to make Narrow Bandpass filter?
hello seems I have already seen similar post somewhere... a buddy of yours ? you did not mentionned the sampling frequency , ...

6 years ago | 0

| accepted

Answered
How to obtain transfer function coefficients from data plot?
hello you need to use tfest sys = tfest(data,np) estimates a continuous-time transfer function sys using the time-domain or fr...

6 years ago | 0

| accepted

Answered
Hello everyone, I now have a set of data. I would like to ask how to draw these scattered points in polar coordinates with the centroid point as the center.
hello this would be my suggestion : load data1.mat load centroids.mat x=data1(:,1)-centroids(:,1); % centered plot y=da...

6 years ago | 0

| accepted

Answered
How to plot timeseries graph
hello again a sample code that can help you % data format (7 columns) % depth temp salin sig chl DO DO% % -5 9,...

6 years ago | 0

Answered
Data Segmentation by proportion
hello you can use the attached function to detect positive and negative slope threshold crossing points this will give you th...

6 years ago | 0

| accepted

Answered
Sound that covers a large frequency range.
hello you can record music / sound using your PC and a wave file editor like Goldwave. or use any music file that you already ...

6 years ago | 0

Answered
Audio Signal Processing in MATLAB (EQ and Delay)
hello bellow some code for EQ with digital filters : % % Cookbook formulae for audio EQ biquad filter coefficient...

6 years ago | 0

Answered
How to make an IIR filter for a speaker crossover without the toolbox
Not sure what you are really looking for, but this is a good starting point for audio EQ filters enjoy it ! % % Co...

6 years ago | 0

Answered
Designing a low pass differentiator using window technique
hello maybe this is waht you were looking for : function [dy, ddy] = firstsecondderivatives(x,y) % The function calculate...

6 years ago | 0

Answered
applying FFT on Pressure drop signals
hello FYI, this is my prefered fft subfunction , function [freq_vector,fft_spectrum] = myfft_peak(signal, Fs, nfft, Overl...

6 years ago | 0

Answered
How to create a sine wave with variable frequency - Simulink
hello if you have the frequency at each time step, you can also calculate the angular increment at each time step : d_theta = ...

6 years ago | 0

| accepted

Answered
Amplitude spectrum concentrated around the wrong frequency
hello FYI, this is my fft code for doing averaging fft (works also for no averaging) : function [freq_vector,fft_spectrum...

6 years ago | 0

Answered
why wont text scan read all rows?
hello your last column has more than one word (2 or 3, so variable size) so with the given arguments txtscan can't read more ...

6 years ago | 0

Answered
Time Series with month names
hello Emily this is my suggestion , with two plot options filename = "Bottom Water Average DO Time Series.xlsx"; C = readce...

6 years ago | 0

Answered
imwrite error for saving contents of a cell array in a for loop - "colourmap should have 3 columns"?
hello Lydia I'm not an expert in image processing , but my lille modified code seems to work a few things I know : no need ...

6 years ago | 0

Answered
Combining multiple csv files in to one
hello this is an alternative that worked on my pc. There may be better coding options, I admit I had a bit of a hard time figu...

6 years ago | 0

Answered
Checking if my program calculates what is supposed to.
hello yes your code needed some fix at least I believe I have fixed most recurrence issues in the loop now there are other ...

6 years ago | 0

| accepted

Answered
Inputting Power Spectral Density into System Transfer Function to obtain Output PSD
hello if your input PSD is a numerical vector defined for a frequency vector freq, you simply have to do dot products like thi...

6 years ago | 1

| accepted

Load more