X = linspace(0,2*pi,25)';
Y = sin(2*X);
stem(X,Y,'LineStyle','-.',...
'LineWidth',1.25,...
'MarkerFaceColor','red',...
'MarkerEdgeColor','green')
使用matlab的stem函数绘制离散信号
最新推荐文章于 2024-09-22 15:47:46 发布
X = linspace(0,2*pi,25)';
Y = sin(2*X);
stem(X,Y,'LineStyle','-.',...
'LineWidth',1.25,...
'MarkerFaceColor','red',...
'MarkerEdgeColor','green')