Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to plot impulses at particular locations using find command in MATLAB .?

1 visualización (últimos 30 días)
Dipesh  Mudatkar
Dipesh Mudatkar el 10 de Feb. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
For example, I have x=[2 0 5 0 5 0 8 5 5 8 5 5 0 5 0 5 0 5 0 5 0 8 4 0 5]; index=find(x~=0); x(index)=1;
After this, I have the x=[1 0 1 0 1 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 1 1 0 1],
Now how to plot impulses at locations of 1 value using plot ?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by