![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1718476/image.png)
delete zero in signal
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1718301/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1718301/image.png)
0 comentarios
Respuestas (1)
Aquatris
el 19 de Jun. de 2024
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1718476/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1718476/image.png)
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!