'Special grid' on a plot
Mostrar comentarios más antiguos
Hi, I have to draw a 'special grid' on a plot of a signal. Specifically, I need one vertical line after 8s and one 10s after the first (and then periodically in this order: 8s,10s,8s,10s etc etc..) How can I do this? I tried to use meshgrid but without results.
Thank you!
1 comentario
dpb
el 30 de Oct. de 2016
Note the location in a time vector of some number of seconds will be
ix=round(T/dt);
where T is the set of desired times and dt the sample rate...
Respuestas (1)
Riccardo Brambilla
el 30 de Oct. de 2016
Categorías
Más información sobre Annotations 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!