how to add zeros
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i have this type of plot .on x axis time in seconds. the required wave lie in time between 06:00 -07:20 sec. so i want to cut it by zero padding....so my question is how to find sample in this time range...![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/234303/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/234303/image.png)
1 comentario
Walter Roberson
el 17 de Ag. de 2019
first_non_silent = find(abs(YourSignal) > tolerance, 1, 'first');
Due to background noise, you would not typically look for the first non-zero location, and would instead look for the first location whose value exceeds the noise level.
Respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!