Sinusoidal signal wave plotting

1 visualización (últimos 30 días)
Steph surry
Steph surry el 11 de Nov. de 2020
Editada: Steph surry el 11 de Nov. de 2020
a script creating a sine wave with 3 units amplitude and length of 50?
% 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’);

Respuestas (1)

Mario Malic
Mario Malic el 11 de Nov. de 2020
One of these will solve your issue:

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by