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 CenterFile Exchange에서 Signal 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