delete zero in signal

4 ビュー (過去 30 日間)
洪宇
洪宇 2024 年 6 月 19 日
回答済み: Aquatris 2024 年 6 月 19 日
My current signal is shown in the figure, which can be seen as continuous steps. I want to obtain the vertices of these peaks and then connect them one by one to form a discount, becoming a new signal that can be input into other modules of Simulink. How to achieve this

回答 (1 件)

Aquatris
Aquatris 2024 年 6 月 19 日
Your question is a bit ambigious but if you just want to remove the 0 s from the signal you can use a switch and delay block to ignore 0 values.

カテゴリ

Help Center および File ExchangeSignal Attributes and Indexing についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by