format long x=load('time.dat');y=load('30um.dat');x=x;xx=[2.510384615000000:0.009:8.336272727000001];sst=interp1(x,y,xx,'spline');variance = std(sst)^2;sst = (sst - mean(sst))/sqrt(variance) ;n = length(sst)pausedt =0.009 ;time = [0:length(sst)-1]*dt
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 11:29:59
format long x=load('time.dat');y=load('30um.dat');x=x;xx=[2.510384615000000:0.009:8.336272727000001];sst=interp1(x,y,xx,'spline');variance = std(sst)^2;sst = (sst - mean(sst))/sqrt(variance) ;n = length(sst)pausedt =0.009 ;time = [0:length(sst)-1]*dt
format long
x=load('time.dat');
y=load('30um.dat');
x=x;
xx=[2.510384615000000:0.009:8.336272727000001];
sst=interp1(x,y,xx,'spline');
variance = std(sst)^2;
sst = (sst - mean(sst))/sqrt(variance) ;
n = length(sst)
pause
dt =0.009 ;
time = [0:length(sst)-1]*dt + 2.510384615000000 % construct time array
pause
xlim = [2.500,8.500]; % plotting range
pad = 1;
dj = 1/8;
s0 = 40*dt; j1 = 7/dj;
lag1 = 0.72;
mother = 'Morlet';
[wave,period,scale,coi] = wavelet(sst,dt,pad,dj,s0,j1,mother);
power = (abs(wave)).^2 ;
levels = [5,10,20,40,80,160,320,640,1280] ;
Yticks = 2.^(fix(log2(min(period))):fix(log2(max(period))));
contourf(time,log2(period),log2(power),log2(levels));
在这里levels是什么意思,起到什么作用,Yticks这样操作是什么意思?
format long x=load('time.dat');y=load('30um.dat');x=x;xx=[2.510384615000000:0.009:8.336272727000001];sst=interp1(x,y,xx,'spline');variance = std(sst)^2;sst = (sst - mean(sst))/sqrt(variance) ;n = length(sst)pausedt =0.009 ;time = [0:length(sst)-1]*dt
证明:在OP,OQ上A,B使得OA=OB,过A做AD⊥L于D,连接BD
由已知得:△AOD≌△BOB
BD⊥L
设AD=BD=X
OA=OB=根号2X
AB=X
COS∠POQ=(2X^2+2X^2-X^2)/4X^2=3/4
∠POQ的余弦值为3/4
level从在contourf函数里的参数位置来看,代表所画坐标图的标尺。
就是坐标系中,坐标轴上标示出数值的点
level从在contourf函数里的参数位置来看,代表所画坐标图的标尺。
就是坐标系中,坐标轴上标示出数值的点。
Yticks你后面还没用上呢,不过看意图,应该是限制纵轴范围。
后面可以用ylim(Yticks)限制y轴范围。