Add phase shift to sum of sines

7 visualizaciones (últimos 30 días)
salvor
salvor el 14 de Mzo. de 2017
Editada: Ed Marquez el 24 de Mzo. de 2017
Hi everybody,
I have a sum of three sine waves with different frequencies. How can I get the same sines sum shifted of 90degrees?
Thank you

Respuesta aceptada

Ed Marquez
Ed Marquez el 24 de Mzo. de 2017
Editada: Ed Marquez el 24 de Mzo. de 2017
Hi,
You could implementing something along the lines of:
x = sin(linspace(0, 10*pi, 10000));
x_shift = zeros(1, numel(x));
x_shift(1:9000) = x(1001:10000);
plot(x)
hold on
plot(x_shift)
You can check more solutions from the community in this post: https://www.mathworks.com/matlabcentral/answers/45939-how-to-do-a-phase-shift-of-a-signal

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by