shift sine wave by 90 degree
5 次查看(过去 30 天)
显示 更早的评论
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 个)
Image Analyst
2019-2-23
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 个评论
Image Analyst
2019-2-23
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.
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!