how to add zeros
2 ビュー (過去 30 日間)
古いコメントを表示
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...

1 件のコメント
Walter Roberson
2019 年 8 月 17 日
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.
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!