Réponse apportée
How can I only pass the signals that I want ?
hello this code will do fft / spectrogram and bandpass filtering - adapt the corner frequencies to your own needs ! clc cle...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
split wav file based on txt file (two vectors - start time and duration)
hello Fatima happy new year ! this code will do the trick : [song,FS]=audioread('demo.wav'); channel = 1; song = so...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Combine writematrix with a text header and safe as file
hello simon welcome back and happy new year ! I somehow recognize this code.... and now comes the upgraded version that appen...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Convert five numeric variables into strings in a text file
hello again so this little piece of code will extract the data and display it in the command window. It assumes that the data...

plus de 5 ans il y a | 0

Réponse apportée
how to eliminate zeros in the output of fast fourier transform (matrix / array)?
hello FYI, this is a code to do averaged fft analysis + findpeaks demo + notch filter (extra bonus) you can import the data f...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Efficient pass filters for EEG signals
hello this is a script with fft analysis and bandpass filter example hope its helps %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % F...

plus de 5 ans il y a | 1

Réponse apportée
How to set ticks in imagesc colorbar based on a matrix value?
hello this is how you can make the ticks range match the A range demo : A = 15*rand(17,22); imagesc(A); title(['Graph']);...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Import data with several sheets
hello Victoria happy new year first ! this little piece of code will import evry sheet and stack the data , I assumed you wa...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
HOW CAN I TIME SHIFT A SIGNAL (FOR EXAMPLE I HAVE GAUSSIAN PULSE AND I WANT TO SHIFT ITS PEAK 3ms IN TIME)
hi see below time shifting do actually work I choose f0 fast enough so that a 3 ms delay is long compare to the pulse perio...

plus de 5 ans il y a | 0

Réponse apportée
Evaluate the system impose response function and the FRF with given input and output data
HELLO had to find another way than using the ID Toolbox (as I don't have it) so I basically tried to fit an IIR model to the...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How do I convert pulses to RPM in simulink 2017a
hello this is my version, converted to R2017a hope it helps it runs at fixed step = 1/Fs with Fs = 1e5

plus de 5 ans il y a | 1

Réponse apportée
Replacing indexed row with string
hello see example below hope it helps test = (1:30); test(3:15) = 0; % create some zeroes in the vector %% main code %...

plus de 5 ans il y a | 0

Réponse apportée
I have phase versus Frequency data, Here i have to unwrap the phase starting from a particular(in between) frequency. is there anyway to do it in Matlab? Data file is attached for your reference.
hello first , notice that unwrap works on radians and not degrees , so there was an error that I corrected below; second, I c...

plus de 5 ans il y a | 0

Réponse apportée
What's the best approach to import sequential xls files and keep them separated?
hello again so this is a first code ; you need now to be more precise about how you want to do on the data : I need to imp...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Taking A large spreadsheet and making it into smaller spreadsheets
hello Curtis try this , nothing fancy : %% load xlsx (param data file) data = readtable('params.xlsx','VariableNamingRule...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Implementation Low Pass Filter without using any built function in matlab
hello below some digital filters used in audio signal processing hope it helps % % Cookbook formulae for audio...

plus de 5 ans il y a | 1

Réponse apportée
how to use spectrogram
hello below my little code for fft and spectrogram analysis here data are supposed to come from a wav file but you can easil...

plus de 5 ans il y a | 0

Réponse apportée
FFT on Force Coefficients to figure out Strouhal number
hello you can use this code to import and do fft analysis on your data you may needed to adjust the "load" data section depen...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How is pspectrum() different from FFT() magnitude plotted in dB?
hello if your data lenght is very long, there is no reason why you could not getter better resolution with a standard fft re...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How To Denoising The Arc Fault Signal using FFT
hi I am not sure fft will help you denoise your signal ; seems your sensor lacks a bit of gain before it gets acquired... th...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
FM modulation with vco
hello this is a simple home made vco the input is the signal frequency (fixed or variable) hope it helps release 2020b

plus de 5 ans il y a | 0

Réponse apportée
facing issue in FFT : P1 = P2(1:L/2+1)
Hi suggest this fft code that also allows averaging if needed : function [freq_vector,fft_spectrum] = myfft_peak(signal, F...

plus de 5 ans il y a | 0

Réponse apportée
FFT to convert time series data into frequency domain
hi my little code : clc %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % FFT parameters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% NFFT = 4...

plus de 5 ans il y a | 0

Réponse apportée
How to create a stickplot?
hello I interpreted your request as you want to change the LineWidth of the vector so it can look thicker I added this param...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
low-pass filtering a signal within a range determined by signal amplitude
hello Jose so this is a little code snipset, it uses a windowing technique as low pass filter the peaks are left as origina...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Proper FFT-Analysis
hello this is a little fft function that do windowing and averaging hope it helps function [freq_vector,fft_spectrum] = m...

plus de 5 ans il y a | 2

Réponse apportée
How to import multiple excel files and pull data
hello again so , this is my code , it also includes the suggestion of Sindar along the two other options i implemented IMHO, r...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Varying an Input to an Amplifier Model
hello you have to make A and t the same size to make it work so this is it : f1 = 100000; %input signal 1 frequency f2 ...

plus de 5 ans il y a | 0

Réponse apportée
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...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Charger plus