MATLAB Answers

How to make Power Spectral Density in contour form?

조회 수: 7(최근 30일)
eko supriyadi
eko supriyadi 2017년 9월 9일
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by