How to make Power Spectral Density in contour form?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all..
i want to make power spectral density (psd) but in contour form only because so far the psd only made in graphic form, correct me if i'm wrong ..
so i want the y axis is the depth, the x axis is the frequency (cycle/day) and the contours exhibits energy strength..
an example is attached..
so far, i have this script:
[num,txt,raw] = xlsread('current pmtm') ;
depth = num(:,1) ;
currents=num(:,2);
x=currents;
fs=1000;
[pxx,f,pxxc] = pmtm(x,3.5,length(x),fs,'ConfidenceLevel', 0.95); % iwant use pmtm with confidental level
and i'm stuck here...
I also attach other data (current ts.xls) that will be used when the first data is used not according to the script format to be developed
Tks for your help :)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Estimation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!