]> AND Private Git Repository - these_gilles.git/blob - THESE/codes/wave/allcode/expand.m
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
final rapporteurs ?
[these_gilles.git] / THESE / codes / wave / allcode / expand.m
1 function[y] = expand(x)
2
3 [N,M] = size(x);
4 N = N*2;
5 M = M*2;
6
7 y = zeros(N,M);
8 y(1:2:N,1:2:M) = x;
9 y(2:2:N,2:2:M) = x;
10 y(1:2:N,2:2:M) = x;
11 y(2:2:N,1:2:M) = x;