how to plot discrete time periodic impluse train

6 visualizaciones (últimos 30 días)
Cander Shelter
Cander Shelter el 23 de Abr. de 2014
Respondida: Daksh el 2 de Feb. de 2023
how to prove this using matlab
x[n]*∑δ[n-rN]=∑x[n-rN]

Respuestas (1)

Daksh
Daksh el 2 de Feb. de 2023
I understand that you intend to generate a discrete time periodic time impulse train using MATLAB.
Here is an example of periodic impulse train with each impulse having a unit amplitude and 1 sample in width with a sampling frequency fs and 1 second in length:
f=10; %frequency of the impulse in Hz
fs=f*10; % sample frequency is 10 times higher
t=0:1/fs:1; % time vector
y=zeros(size(t));
y(1:fs/f:end)=1;
plot(t,y);
You can use this technique for your utility, hope it helps!

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by