HW1Solutions Psd

HW1Solutions Psd - Nr=length(cor); S=fft(cor);...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [S, f]=Psd(x,dx) % This function estimates the PSD of the input signal. N=length(x); cor=conv(x,fliplr(conj(x)))/N;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Nr=length(cor); S=fft(cor); S=fftshift(dx*abs(S)); Nf=(Nr-1)/2; df=1/(dx*Nr); f=[-Nf:Nf]*df;...
View Full Document

This note was uploaded on 02/21/2012 for the course ECEN 611 taught by Professor Miller during the Spring '08 term at Texas A&M.

Ask a homework question - tutors are online