#### TicTek

##### Newbie level 5

So after reading this article Sampling and Aliasing at page 30; I could not reproduce the where the phase has a conjugate value of the origial phase at Fs/2<f<Fs which result in :

fa = Fs − f, fa is the aliased frequency

Za = Z

so my code is here:

Code:

```
Fs1=30; % original sampling frequency
t1=0:1/Fs1:1;
f1=4;ph1=-pi/4; % signal frequency
x1=sin(2*pi*f1*t1+ph1); % original signal with original sampling frequency Fs1
Fs2=6;% variable sampling frequency
t1=0:1/Fs1:1;
t2=0:1/Fs2:1;
x2=sin(2*pi*f1*t2+ph1); % original signal with variable sampling frequency Fs1
subplot(2,1,1)
plot(t1,x1)
subplot(2,1,2)
plot(t2,x2 )
```

How can I get like him where I can visualize the phase ?