Réponse apportée
How to plot these traces after a fixed interval?
hello this is it : C = randn(2000,30); data = filter(ones(1,100),1,C); ind = [5, 15, 25]; % your angles figure(1), w...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
FFT and time domain
hello see my example below I used nfft = 48 and 95% overlap to have best display of spectrograms clc clearvars %%%%%%%%...

plus de 5 ans il y a | 0

Réponse apportée
How to plot the “Response” and the “damping exponential function of the transient solution” on the same figure?
hello If you have the Signal Processing Tbx, envelope was made for you clear all;close all; clc; xss=0.01; wf=40; wn=2...

plus de 5 ans il y a | 0

Réponse apportée
I have multiple signal plots in one graph and i want to add their amplitudes to get one graph only
hello here you are : n1=1.45; n2=2.65; c=299792458; a=259*10^-9; b=142*10^-9; G=a+b; Lambda0=1.5*10^-6; Omega0=2*pi...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Finding the time in which a specific value is reached in time-series data when peaks are found
hello I would suggest you use first a lowpass filter with long enought time constant (equivalent to moving average with buffe...

plus de 5 ans il y a | 0

Réponse apportée
How do I solve two different differential equations at the same time?
hello to do simple integration, you could start with cumtrapz to get the velocity data (from the force inputs) the time vecto...

plus de 5 ans il y a | 1

Réponse apportée
How to use output numbers as a vector.
hello see bleow : clear variable clc a=input('Please input a vector of integers : '); c=length(a); for d = unique(a(:)) ...

plus de 5 ans il y a | 0

Réponse apportée
How do I fix my x-axis ?
hello here you are : x = 0:1e-3:2; y1=8*cos(2*pi*x); y2=8*cos(19*pi*x).*exp(-x); figure(1),plot(x,y1,x,y2)

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Write legend on for loop plot
hello try this : X = [1.182, 1.6, 1.7, 1.8, 1.9, 2] NumberOfScenarios = [1, 2, 3] Scenarios = string(NumberOfScenarios); ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Find the value at exact location in a text file
hello hope this helps I used the attached function to load the data (FYI) % demo clc clearvars; % load data [outdat...

plus de 5 ans il y a | 0

Réponse apportée
ECG signal filtering problem
hello a little tool to do the fft anamysis (and notch filter demo included) clc clearvars %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How analyze PMU data in the form of sinusoidal waveform?
hello I am not sure what your data represents, but FYI, this is a code to do spectral analysis (averaged fft and spectrogram) ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
How to smooth a curve
hello your post is a bit rude, please take 10 seconds to say hello and introduce your topic; that would be a little more respe...

plus de 5 ans il y a | 0

Réponse apportée
How to resample frequency domain signal?
hello first code below : this is a script showing true averaging (even on complex Y data) over N samples your ac...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Echo generation of FIR sytem
hello my code as example : infile='DirectGuitar.wav'; outfile='out_echo.wav'; % read the sample waveform [x,Fs] = audiore...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Including Distortion with Audio Signal
hello this is an example how to use your function within a main code but I guess the implementation for the distortion is not...

plus de 5 ans il y a | 0

Réponse apportée
How can I offset time and displacement at the end of a defined time?
hello you can simply add 60 (or any value ) to your time vector (assuming you have defined one) : plot(time+60,data)

plus de 5 ans il y a | 0

Réponse apportée
Best filter for velocity noisy data
Suggestion of the day there are certainly other ways to implement a filter that action is function of signal amplitude (or dev...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
implements a digital notch filter to remove the frequency component at 1 Hz.
hello see example code below clc clearvars %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%%%%%%%%%%%%%%%...

plus de 5 ans il y a | 0

Réponse apportée
how to shift a pcolor figure ?
yes for sure % non centered plot N = 21; X = (1:N); Y = (1:N); C = rand(N,N); figure(1),pcolor(X,Y,C) colormap(gray(2...

plus de 5 ans il y a | 0

Réponse apportée
Specgram zooms when sampling rate resampled to lower
Complete code for audio signal analysis clc clear all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % load signal %%%%%%%%%%%%%%%%%%%...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Why does my FFT return all zeros for certain sound files?
Luke - see above again : I found where the issue is on the OP code - N = 2^12; j = 0:N-1; f = (Fs/N).*j; X = ff...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Smoothing data by x axis values rather than cells
hello to resample all data to 200 m resolution (whatever your resolution is ), simply use interp1 : new_d = min(d1):200:max...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Moving sum of 4 subsequent observatins
hello see example below (run it with 4 and not 5 samples averaging) : % dummy data data = rand(320,15); buffer = 5; % ...

plus de 5 ans il y a | 0

Réponse apportée
I want to call multiple files and plot them using a loop
hello attached a few examples - they are for excel / csv files but you can easily change the code for mat files (like : ... = ...

plus de 5 ans il y a | 0

Réponse apportée
How to convert from daily timestep to monthly average?
hello Elizabeth here you are : Daily_Data = load('example_data.mat'); Daily_Data = Daily_Data.MIKESHEver10calibrationDetaile...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Unit of Amplitude After FFT Analysis
hello using fft requires some brainstorming about the scaling thats why i also compare my fft output amplitude to a know sin...

plus de 5 ans il y a | 0

Réponse apportée
Please help with plotting and for loops!
hello this is the typical situation when you forget to index the variable used to do the plot after the for loop just missing...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Azimuthally average line plot to 2D image
Hello again Check this if it works for you. I had to divide y by 1000 so that x and y are in similar ranges (is one in mm and...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
optimizing vector variables with N vector
hello I suspect this is the intention (corrected code) : N=10; z = rand(1,2*N); % dummy data (length must be >= 2N r= mai...

plus de 5 ans il y a | 0

| A accepté

Charger plus