Three phase sinus wave plotting
2 次查看(过去 30 天)
显示 更早的评论
Hello, I woul like to ask how can edit my sinus wave time period, cause now i nor able to plot proper sinus wavew by method which i used. I am ussi this command line:
x=linspace(0,2*pi,60);
r=sin(x);
y=sin(x+2*pi/3);
b=sin(x+4*pi/3);
plot(x,r,x,y,x,b)
grid on, box on
and I am getting this. But need all three sinus waeforms in 1 time period. It woul be very usfell how to set it for me. Thank you in advance

0 个评论
采纳的回答
KSSV
2021-5-19
x1=linspace(0,2*pi,60);
r=sin(x1);
x2 = x1+2*pi/3 ;
y=sin(x2);
x3 = x1+4*pi/3 ;
b=sin(x3);
plot(x1,r,x2,y,x3,b)
grid on, box on
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


