原创 使用matlab的stem函數繪製離散信號

X = linspace(0,2*pi,25)'; Y = sin(2*X); stem(X,Y,'LineStyle','-.',... 'LineWidth',1.25,... 'MarkerFaceColor',