I want a table of values (frequency versus power) for a cpsd plot

I am ploting the cross spectral power between two scalar time series (same length, constant interval). I want the values of frequency versus power from the cpsd plot.

Answers (1)

Read the doc for cpsd, examples illustrate using the outputs for plotting of various types...specifically the forms of the type
[pxy,f] = cpsd(___,fs)
give you exactly what you need...

Asked:

on 2 Nov 2023

Answered:

dpb
on 2 Nov 2023

Community Treasure Hunt

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

Start Hunting!