function ms=mspc(x,f)
% Input-
% x - 2-D matrix x(k,n) of the HHT spectrum
% f - vector f(k) that specifies the frequency-axis values
%
% Output-
% ms - vector ms(k) that specifies the marginal spectrum surf(h) shading interp
n=size(x);
k=n(1);
n=n(2);
ms=sum(x')'/n;
我的边际谱这样做,大家意下如何?
原帖由 zhangnan3509 于 2007-3-23 15:51 发表
function ms=mspc(x,f)
% Input-
% x - 2-D matrix x(k,n) of the HHT spectrum
% f - vector f(k) that specifies the frequency-axis values
%
% Output-
% ms - vector ms(k) that specifies the marg ...