I follow positive and negative references
XNsize = length (Xn);
[XNsize, Xn, Xp]
I want to plot the signal by using "stem" as follow
stem([XNsize, Xn, Xp])
but in different colours
meaning
Xn in red
Xp in blue
digital signal processingdspfbmcfftifftMATLABmatlab codernegativeofdmplotpositive
Best Answer