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

5 views (last 30 days)
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!

Categories

Find more on Signal Processing Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!