Perform zero-padding

zero-padding for 2 input vectors
113 Downloads
Updated 17 Jul 2015

View License

This funtion calculate which of 2 input 1D vectors have the less number of elements and performs zero-padding so both of them to have same lengths. It can be used to mono only sound files ( 1D matrix).

Cite As

Manolis Michailidis (2024). Perform zero-padding (https://www.mathworks.com/matlabcentral/fileexchange/52177-perform-zero-padding), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Audio Processing Algorithm Design in Help Center and MATLAB Answers
Acknowledgements

Inspired by: DSP computing, addition, Size Convert

Community Treasure Hunt

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

Start Hunting!

zeropad/

Version Published Release Notes
1.1.0.0

v1.1 inludes the following:
- checks if the input vectors have same length
- ensure the input vector to be columns before processing

1.0.0.0