plotting discrete graph from 0 to 20
Mostrar comentarios más antiguos
hey there!
Trying to plot the discrete time graph : Y[x] = 1 (if 0<=x <= 20);
how do I do that?
tries using plot and dont know how to do it
thanks
1 comentario
Yuval Levy
el 13 de Dic. de 2021
Respuestas (1)
You should be using plot with only the markers then.
plot(0:20,ones(21,1),'*')
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
