Add phase shift to sum of sines

3 ビュー (過去 30 日間)
salvor 2017 年 3 月 14 日
編集済み: Ed Marquez 2017 年 3 月 24 日
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


Ed Marquez
Ed Marquez 2017 年 3 月 24 日
編集済み: Ed Marquez 2017 年 3 月 24 日
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);
hold on
You can check more solutions from the community in this post:

その他の回答 (0 件)


Community Treasure Hunt

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

Start Hunting!

Translated by