How could i change This Plot
to something like this plot
Each two plots are concatenation of HeavisidePi
The code for the first plot is :
listID1={2,0,9,4,3,9,6,7,8};
tCje[l_]:=Table[l[[n]]*HeavisidePi[x-(n+1)],{n,1,9}];
Plot[tCje[listID1],{x,0,20},Exclusions->None]
danl
(Daniel Lichtblau)
2
Could change Table to Sum.
Do you mean style-wise or as a probability distribution or both or something else?
If it is just about the plot, you can try:
ListStepPlot[listID1, Center]
EDIT:
The above is “sub optimal”, better is:
ListStepPlot[ArrayPad[listID1, 1], Center]