# How to plot a graph on frequency domain when i don't have any time parameter?

3 views (last 30 days)

Show older comments

##### 4 Comments

### Answers (1)

Girijashankar Sahoo
on 28 May 2021

You are calculating return loss parameter with frequency.

Calculate PSD input and PSD of return signal

X(K)=(1/N)*fft(x(n)); PSDX=Pi=abs(X(K)*X(K)')

Y(K)=(1/N)*fft(y(n));PSDY=Pr=abs(Y(K)*Y(K)')

S11= 10log(Pi/Pr)

plot(f,S11)

### See Also

### Categories

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!