Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
Dipesh  Mudatkar
Dipesh Mudatkar am 10 Feb. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 ?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by