functionupsample

Up-sampling of a vector (insert a zero after every element except the last one)

Inputs

TypeNameDefaultDescription
Real[:]u{1, 2, 3, 4}Input vector

Outputs

TypeNameDefaultDescription
Real[size(u, 1)*2 - 1]yOutput vector with the (double length of u) -1