optic.comm.ofdm.zeroPad
- zeroPad(x, L)
Pad an input array with zeros on both sides.
- Parameters:
x (array_like) – Input array to be padded.
L (int) – Number of zeros to pad on each side of the array.
- Returns:
padded_array – Padded array with zeros added at the beginning and end.
- Return type:
np.array
Notes
This function pads the input array x with L zeros on both sides, effectively increasing its length by 2*L.