Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

%5.1.

1
x=[4,1,-1,1];
N=4;
X=dfs(x,N)

%5.1.2
x=[2,0,0,0,-1,0,0,0];
N=8;
X=dfs(x,N)

%%
%5.1.3
x=[1,0,-1,-1,0];
N=5;
X=dfs(x,N)

%%
%5.1.4
x=[0,0,2j,0,2j,0];
N=6;
X=dfs(x,N)
%%
%5.1.5
x=[3,2,1];
N=3;
X=dfs(x,N)

%%
%5.2.1
x=[4,3j,-3j];
N=3;
X=idfs(x,N)

%%
%5.2.2
x=[j,2j,3j,4j];
N=4;
X=idfs(x,N)

%%
%5.2.3
x=[1,2+j*3,4,2-j*3];
N=4;
X=idfs(x,N)

%%
%5.2.4
x=[0,0,2,0,0];
N=5;
X=idfs(x,N)

%%
%5.2.5
x=[3,0,0,0,-3,0,0,0];
N=8;
X=idfs(x,N)

You might also like