フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Dipesh  Mudatkar
Dipesh Mudatkar 2017 年 2 月 10 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 ?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by