I'm having a signal y of 52989 x 2 values. What I want to do is zero pad it until I get like signal y_mp3 66379 x 2. Here a sample of my code:
P = 13750
y= [zeros(1,P),w];
I constantly receive the error: dimensions of matrices being concatenated are not consistent. I tried to switch the 1 and P or the 2 arguments but stil no good. Can someone clarify my error?
EDIT: I tried following suggestion but still the same:
P = length(y)-length(y_mp3);
y_mp3_p = y_mp3;
padsize = P / 2;
padarray(y_mp3_p, [padsize 0]);
Thanks in advance everyone!