what is the detailed code/theory behind the cpsd function?

8 views (last 30 days)
Yang
Yang on 2 Nov 2015
Answered: Nitin Khola on 4 Nov 2015
what is the detailed code/theory behind the cpsd function? For example, two complex signals u(t) and v(t), other parameters are default, "twosized". How did cpsd work?

Answers (1)

Nitin Khola
Nitin Khola on 4 Nov 2015
Hi Yang,
If you type, "edit cpsd" on your command window. The function "cpsd" will open in editor. As you will be able to see, it uses "welch" under the hood. Hence, it our implementation of "Welch's method" that the function, cpsd, uses. For other details about complex signal inputs, reading the comments in the "cpsd.m" file will be helpful!

Tags

Community Treasure Hunt

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

Start Hunting!