shift sine wave by 90 degree
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello,
I have sine wave supply and i want to get alpha and beta, alpha is the orginal sine wave but beta should be shifted by 90 degree.
how can i shift the sine wave by 90 degree ?
thanks
2 comentarios
Respuestas (2)
Image Analyst
el 23 de Feb. de 2019
So you have x and y values for your "alpha" curve and you want a "beta" curve that looks like your alpha curve but is shifted 90 degrees, or pi/2, to theright or left? So, do you mean like this
betax = alphax - pi/2;
betay = alphay;
plot(betax, betay, 'b-');
grid on;
2 comentarios
Image Analyst
el 23 de Feb. de 2019
Sorry -- I don't use Simulink. I've added it to the product list at the right. Next time you can add it yourself when you first make the post.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!