0
$\begingroup$

Let's say I have cross-correlated $x(n)$ and $y(n)$ and got the $R_{xy}(n)$.

Now if I want to generate the x-axis component of $R_{xy}(n)$ in the command window of MATLAB. How can I do that? is there any built-in function available?

$\endgroup$
3
  • 1
    $\begingroup$ xaxis = -(length(x)-1):(length(y)-1); multiply with whatever units your actual signals are in $\endgroup$
    – Hilmar
    Dec 1, 2021 at 18:50
  • $\begingroup$ @Hilmar may as well add that as an answer since there isn't much more to say about it- and close this out. $\endgroup$ Dec 1, 2021 at 23:41
  • $\begingroup$ @Hilmar How can I generate the Y-axis component? $\endgroup$
    – bighero666
    Dec 2, 2021 at 3:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.