sampling rate in sawtooth

2 visualizaciones (últimos 30 días)
ahmad ramadan
ahmad ramadan el 23 de Oct. de 2018
Respondida: Othmane ELMOUATAMID el 23 de Oct. de 2018
how i can sample the code at rate 10,000 sample
% Program P1_4 % Generation of a sinusoidal sequence n = 0:40; f = 0.1; phase = 0; A = 1.5; arg = 2*pi*f*n - phase; x = A*cos(arg); clf; % Clear old graph stem(n,x); % Plot the generated sequence axis([0 40 -2 2]); grid; title('Sinusoidal Sequence'); xlabel('Time index n'); ylabel('Amplitude'); axis;

Respuestas (1)

Othmane ELMOUATAMID
Othmane ELMOUATAMID el 23 de Oct. de 2018
Hello Ahmad,
You might want to try with this function : resample.

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by