# Get a power spectral density from real random data

I am using real data of wind, which is a random one to get the power spectral density of these values.

How can I do to get this PSD in matlab, and Can I get an analytical expression for this psd.

Thank you.

The standard method is to use Welch's algorithm, which you can access via the pwelch command in Matlab. It is pretty well documented.