MATLAB: How to bring signals of uneven sizes to the same size

resize

I have 3 signals, size(x)=15001 size(y)=7500 size(z)=3751
and how to bring the sizes of all these three signals to 15000?

Best Answer

x(end)=[];
y(end+1:15000)=0;
z(end+1:15000)=0;